SVET PROGRAMIRANJA
  • HOME
  • WEB PROGRAMMING
    • Popular programming languages today
    • Programming trends
    • Internet of things
    • Creating web application
    • Frontend and backend programming
    • Creating Simple Website >
      • Create Your Logo Home
      • Create Your Logo CSS
    • Creating python web application >
      • Creating a Django Web Application - Getting Started
    • ASP.NET CORE web application >
      • ASP.NET CORE web application introduce >
      • Servicing static web pages using a web server
      • Creation of a sql web api service that reads data from the database
      • Creating a controller in an asp.net web API application
      • Communication of the Javascript web application with the API server
  • Algorithms
    • Algorithms Guide
    • Mathematical algorithms >
      • Array of Fibonacci
      • A prime numbers and factoring
      • Eratosthenes sieve
      • The Euclidean algorithm
      • The maximum sum of subarrays
      • Fast exponentiation algorithm
    • Structures and Unions >
      • Introduction to structures and unions
      • Disjoint Set Union (DSU) structures
      • Basic data structures
    • Sorting arrays >
      • Merge-sort
      • Quick-sort
    • Binary search
    • Recursion and dynamic programming >
      • Recursive algorithms
        • Tower of Hanoi algorithm
      • Introduction to dynamic programming
      • DP: Fibonacci with memoization
      • DP: Knapsack problem – Explanation and examples
      • Longest Common Subsequence (LCS)
  • Examples in C,C++,Java
    • Basic Examples >
      • Data examples in C/C++
      • Selection statements in C/C++ - examples
      • Loops in C/C++ examples >
        • Loops in C/C++ examples basic
        • Nested loops in c and c++ examples
      • Arrays in C/C++ examples
      • Strings in C/C++ examples
      • Sorting arrays in C/C++ examples
      • Two dimensional arrays in C/C++ - examples
      • Functions in C/C++ - examples
      • Algorithms examples >
        • Recursive algorithms examples
    • Additional examples with solutions >
      • Data in C - additional examples
      • Selection statement - additional
      • Loop - additional
      • Clasess and objects- additional
    • Preparations for competitions in informatics >
      • Preparations for qualifications for distict competitions
      • Qualifications for distict competitions
      • Preparation for the national competition
    • Tests >
      • Test from "Selections statements"
  • Programming languagages
    • Learn C >
      • Introducing to C and C++
      • Basics about C and C++
      • Data in languages C
      • Operators in C/C++
      • Selection Statements in C/C++
      • Loops in C/C++ >
        • Loops in C/C++ basic
        • Nested loops in c and c++
      • Arrays in c and cpp >
        • Onedimensional Array in c and c++ basic
        • Vectors in c and c++
        • Two-dimensional array-matrix in c and c++
        • Maps in c and c++
      • Strings in C/C++
      • Two-dimensional arrays
      • Pointers in C/C++
      • Functions in C
    • learn C++ >
      • Introducing to C++
      • Data in C++
      • Operators in C++
      • Selection Statements in C++
      • Loops in C++ >
        • Loops in C++ basic
        • Nested loops in c++
      • Arrays in c++ >
        • Introduction to an Array in c++
        • Vectors in c++
        • Two-dimensional array-matrix in c++
        • Maps in c++
        • Two dimensional dynamic arrays in c++
      • Strings in C++
      • Two-dimensional arrays
      • Pointers in C++
      • Functions in C++
    • Learn JAVA >
        /*JAVA*/
      • Introducing to JAVA
      • Java Basic >
        • Data in JAVA programming
        • Selections statements in JAVA
        • Operators in JAVA
        • Loops in JAVA
        • Arrays in JAVA
      • Object oriented programming >
        • Understanding Java as an Object-Oriented Language
        • Classes and Objects
        • Inheritance of classes
        • Abstract classes and interfaces
        • The visual part of the application >
          • Graphical user interface
          • Events in Java
          • Drawing in window
          • Graphics in JAVA-example
          • Animations in JAVA-examples
          • Applications in JAVA-examples
      • Distance learning java
    • Learn Processing >
      • Intoduction to processing
      • Basic of processing using JAVA
      • Processing and microbit
      • Using vectors in Processing >
        • Vector operations application
      • Processing 2D >
        • Creating Projectile motion animation
        • Processing example: Soccer game shoot
        • Body sliding down a inclined plane
        • Analisys of an inclined plane
        • Circular motion animation in processing
      • Processing 3D >
        • Introducing to 3D processing
        • Movement of 3D objects in processing
    • Arduino and ESP32 programming >
      • Learn Arduino Programming >
        • Intoduction to arduino
        • LDR sensor(light sensor) exercises
        • Arduino temperature sensor - exercises
        • Measuring an unknown resistor
        • Arduino -Ultrasonic sensor
        • introduction to servo-motors on arduino
        • Moisture soil sensor
      • Learn ESP32 Programming >
        • Intoduction to ESP32
        • ESP32 with servo motors exercise
  • MORE
    • Privacy Policy
    • Links
    • Distance learning

Srpski | English

Array of Fibonacci Numbers

A sequence of numbers named after the Italian mathematician Leonardo of Pisa, better known as Fibonacci. These numbers form a sequence where, starting from the first two values
f₀ = 0 and f₁ = 1,
each subsequent number is obtained using the formula:
fₙ = fₙ₋₁ + fₙ₋₂, for n ≥ 2.​

Each new member of the string is obtained as a sum of the previous 2.​

Array of Fibonacci:
0,1,1,2,3,5,8,13,21,34,55,89,144,....

An example illustrating this sequence of numbers can be seen in Figure 1:​


​These numbers have a great application in nature. The number of petals on the flower, the number of spirals on the sunflower, the hive, the hive, the leaves on the branch, the shell of the snail Nautilus is a typical Fibonacci series.
Behind the bees can be seen the Fibonacci series, because there are always few bees in the hive than bees. And when I divide the number of males with the number of males, I would get a number that represents the relationship between the two adjacent members of the Fibonacci series, which is also the number of fi.
Array of Fibonnaci and nature
Figure 1: Array of Fibonnaci and nature

Determination of the nth Fibonacci number-recursion

One of the possible solutions is through recursion. We make a function for determining the number from the Fibonacci array at a position that is sent as a function parameter. Because it's for calculation
F(N)= F(N-1) + F(N-2)
it is necessary to re-call the function, but now with the sent positions of N-1 or N-2, this means that the function must call itself repeatedly recursively. This method is not particularly effective for large data due to too many calls made to the function.
Square squares whose lengthwise pages are successive Fibonacci numbers
Figure 2: Square squares whose lengthwise pages are successive Fibonacci numbers
Fibonacci series - Spiral
Figure 3: Fibonacci series - Spiral


using namespace std;


int fib(int n)

{

  if(n<=1)

  return n;

 int f1=fib(n-1);

 int f2=fib(n-2);

 return f1+f2;

}

int main()

{

 int N,x;

 cin >> N;

 x=fib(N);

 cout << x << endl;

 return 0;

}
Figure 4 shows the function calls for determining the 4th element of the Fibonacci sequence. It can be concluded that there are too many recursive function calls for larger positions, so execution is slow.
Determination of this element of the Fibonacci sequence by recursion - function calls
Figure 4: Determination of this element of the Fibonacci sequence by recursion - function calls

Determination of the nth Fibonacci number - dynamic programming

In this case, in order to shorten the execution time, we remember the set of values ​​that were previously calculated. There is no recursion here, but the function calls only once, and then, using the loop, calculates each current element by adding its two predecessors stored in the series f;


using namespace std;


int fib(int n)

{

 int f[n+2];
 f[0]=0;

 f[1]=1;

 for(int i=2; i<=n; i++)

 {

   f[i]=f[i-1]+f[i-2];

 }

 return f[n];

}

int main()

{

 int N,x;

 cin >> N;

 x=fib(N);

 cout << x << endl;

 return 0;

}

Determination of the nth Fibonacci number - dynamic programming-optimized method

The preceding code can be further accelerated if, instead of remembering the whole sequence, we only remember the last two elements:


using namespace std;


int fib(int n)

{

 long long f[n+2];
 long long a,b,f;
 a=0;
 b=1;
 for(long long i=2; i<=n; i++)

 {

   f=a+b;
   a=b;
   b=f;

 }

return f;

}

int main()

{

 long long N,x;

 cin >> N;

 x=fib(N);

 cout << x << endl;

 return 0;

}
Initially, the predecessors a and b are initialized to 0 and 1. When a new Fibonacci number is defined as the predecessor a and b, then the predecessors are prepared for a new iteration: the second in the next is equal to the calculated Fibonacci number in the current cycle
b=f
while the first predecessor of the new cycle, in fact, the one who in the current cycle was the second predecessor:​
a=b.

​Previous
​|< Mathematical algorithms
​Next
​​​A prime numbers and factoring >|

Algoritmi
Matrice
Java
Linkovi
​Politika Privatnosti
Kontakt



© 2025 by Slobodan svetprogramiranja.com

Sva prava zadržana

  • Home
  • WEB APPLICATIONS
    • Popular programming languages today
    • Programming trends
    • Internet of things
    • Creating web application
    • Frontend and backend programming
    • Creating Simple Website >
      • Create Your Logo Home
      • Create Your Logo CSS
    • Creating python web application >
      • Creating a Django Web Application - Getting Started
    • ASP.NET CORE web application >
      • ASP.NET CORE web application introduce >
      • Servicing static web pages using a web server
      • Creation of a sql web api service that reads data from the database
      • Creating a controller in an asp.net web API application
      • Communication of the Javascript web application with the API server
  • Algorithms
    • Algorithms Guide
    • Mathematical algorithms >
      • Array of Fibonacci
      • A prime numbers and factoring
      • Eratosthenes sieve
      • The Euclidean algorithm
      • The maximum sum of subarrays
      • Fast exponentiation algorithm
    • Structures and Unions >
      • Introduction to structures and unions
      • Disjoint Set Union (DSU) structures
      • Basic data structures
    • Sorting arrays
      • Merge-sort
      • Quick-sort
    • Binary search
    • Recursion and dynamic programming >
      • Recursive algorithms
        • Tower of Hanoi algorithm
      • Introduction to dynamic programming
      • DP: Fibonacci with memoization
      • DP: Knapsack problem – Explanation and examples
      • Longest Common Subsequence (LCS)
  • Examples in C,C++,Java
    • Basic Examples >
      • Data examples in C/C++
      • Selection statements in C/C++ - examples
      • Loops in C/C++ examples >
        • Loops in C/C++ examples basic
        • Nested loops in c and c++ examples
      • Arrays in C/C++ examples
      • Strings in C/C++ examples
      • Sorting arrays in C/C++ examples
      • Two dimensional arrays in C/C++ - examples
      • Functions in C/C++ - examples
      • Algorithms examples >
        • Recursive algorithms examples
    • Additional examples with solutions >
      • Data in C - additional
      • Selection statements - additional
      • Loop - additional
      • Clasess and objects- additional
    • Preparations for competitions in informatics >
      • Preparations for qualifications for distict competitions
      • Qualifications for distict competitions
      • Preparation for the national competition
    • Tests >
      • Test from "Selections statements"
  • Programming languagages
    • Learn C >
      • Introducing to C
      • Basics about C
      • Data in languages C
      • Data in C
      • Operators in C
      • Selection Statements in C
      • Loops in C >
        • Loops in C basic
        • Nested loops in c
      • Arrays in c >
        • Onedimensional Array in c basic
        • Two-dimensional array-matrix in c
      • Strings in C
      • Two-dimensional arrays
      • Pointers in C
      • Functions in C
    • learn C++ >
      • Introducing to C++
      • Data in C++
      • Operators in C++
      • Selection Statements in C++
      • Loops in C++ >
        • Loops in C++ basic
        • Nested loops in c++
      • Arrays in c++ >
        • Introduction to an Array in c++
        • Vectors in c++
        • Two-dimensional array-matrix in c++
        • Maps in c++
        • Two dimensional dynamic arrays in c++
      • Strings in C++
      • Pointers in C++
      • Functions in C++
    • Learn JAVA >
      • Introducing to JAVA
      • Java Basic >
        • Data in JAVA programming
        • Selections statements in JAVA
        • Operators in JAVA
        • Loops in JAVA
        • Arrays in JAVA
      • Object oriented programming >
        • Understanding Java as an Object-Oriented Language
        • Classes and Objects
        • Inheritance of classes
        • Abstract classes and interfaces
        • The visual part of the application >
          • Graphical user interface
          • Events in Java
          • Drawing in window
          • Graphics in JAVA-example
          • Animations in JAVA-examples
          • Applications in JAVA-examples
      • Distance learning java
    • Learn Processing >
      • Intoduction to processing
      • Basic of processing using JAVA
      • Processing and microbit
      • Using vectors in Processing >
        • Vector operations application
      • Processing 2D >
        • Creating Projectile motion animation
        • Processing example: Soccer game shoot
        • Body sliding down a inclined plane
        • Analisys of an inclined plane
        • Circular motion animation in processing
      • Processing 3D >
        • Introducing to 3D processing
        • Movement of 3D objects in processing
    • Arduino and ESP32 programming >
      • Learn Arduino Programming >
        • Intoduction to arduino
        • LDR sensor(light sensor) exercises
        • Arduino temperature sensor - exercises
        • Measuring an unknown resistor
        • Arduino -Ultrasonic sensor
        • Introduction to servo-motors on arduino
        • Moisture soil sensor
      • Learn ESP32 Programming >
        • Intoduction to ESP32
        • ESP32 with servo motors exercise
  • MORE
    • Privacy Policy
    • Links
    • Distance learning
SVET PROGRAMIRANJA

Podešavanja kolačića

Koristimo kolačiće da bismo vam pružili najbolje moguće iskustvo. Takođe nam omogućavaju da analiziramo ponašanje korisnika kako bismo stalno poboljšavali veb lokaciju za vas.

  • Početna
  • WEB APLIKACIJE
    • Web programiranje vodič
    • Osnove Web-a >
      • Uvod u WEB
      • Web server
      • Frontend i Backend
      • Šta je API u programiranju
      • Backend izbor
    • Kreiranje web sajtova i web aplikacija >
      • Kreiranje web sajta osnove >
        • Kreiranje web sajta
        • Logo Kreator - naslovna
        • Klase za stil naslovne strane
      • Kreiranje Django Web Aplikacije >
        • Python Web Aplikacije
        • Kako Python radi na serveru
        • Kreiranje Python Web Aplikacije-početak
        • Kreiranje aplikacije na Heroku Web Platformi 2
        • Logo Kreator - Kreiranje Naslovne strane
        • Django aplikacija i baza podataka
        • Kreiranje aplikacije na Heroku Web Platformi >
          • Dodavanje modula za registraciju >
            • Dodavanje web strane za logovanje
      • ASP.NET Core web aplikacije >
        • ASP.NET Core web aplikacije uvod
        • Servisiranje statičkih web strana pomoću web servera
        • Kreiranje sql web api servisa koji čita podatke iz baze
        • Kreiranje kontrolera u asp.net web API aplikaciji
        • Komunikacija Javascript web aplikacije sa API serverom
  • Učenje programiranja
    • Algoritmi >
      • Algoritmi početna - Učenje i Primeri
      • Matematički algoritmi >
        • Fibonačijev niz
        • Prosti brojevi i faktorizacija
        • Eratostenovo sito
        • Euklidov algoritam
        • Maksimalna suma podniza
        • Brzo stepenovanje
      • Strukture podataka >
        • Mapa učenja Strukture podataka
        • Uvod u strukture i unije
        • Uvod u vektore
        • Povezane liste
        • Stek (Stack)
        • Red(Queue)
        • Disjoint Set Union (DSU) strukture+
        • Osnovne strukture podataka
      • Sortiranje nizova >
        • Sortiranje objedinjavanjem
        • Brzo Sortiranje
      • Binarna pretraga
      • Rekurzija i dinamičko programiranje >
        • Rekurzivni algoritmi >
          • Hanojske kule
        • Uvod u dinamičko programiranje
        • Fibonacijev niz DP i memoizacija – objašnjenje i primeri
        • Osnovni DP obrasci >
          • DP: Problem ranca (Knapsack problem)
          • DP: Najduži zajednički podniz (LCS)
          • DP: Subset Sum -problem podskupa sa zadatom sumom
        • Napredni DP obrasci >
          • DP: Minimalan broj kovanica
          • Grid DP problem
          • Edit Distance DP
      • Zamena iteracija formulom
      • Grafovi i stabla >
        • Mapa učenja — Grafovi i stabla
        • Osnove i pretrage >
          • BFS i DFS (pretraga grafova)
          • Topološko sortiranje
          • Otkrivanje ciklusa u usmerenim grafovima
          • Najduži put u DAG-u (DP + topološko sortiranje)
        • Najkraći putevi >
          • Algoritmi grafovi Dijkstra-najkraći put
          • Bellman-Ford i Floyd-Warshall algoritmi
        • Minimalna stabla >
          • MST - Primov algoritam
          • Grafovi MST - Kruskalov algoritam
        • Grafovi Napredno >
          • Eulerovi putevi i ciklusi
          • Mostovi i Artikulisani čvorovi (Tarjanov algoritam)
          • SCC — Komponente jake povezanosti (Kosaraju i Tarjan)
          • DP na DAG-ovima — Primene
      • Napredne tehnike >
        • Podeli pa vladaj
        • Gramzivi algoritmi
    • Primeri - C,C++,Java,Python >
      • Primeri iz programiranja – C, C++, Java, Python | Svet Programiranja
      • Osnovni primeri >
        • Podaci-primeri
        • Operatori-primeri
        • Grananje u programu - primeri
        • Petlje primeri >
          • Petlje - osnovni primeri
          • Ugnježdene petlje primeri
        • Stringovi - primeri
        • Nizovi primeri >
          • Nizovi-primeri
          • Sortiranje-primeri
          • Vektori i mape primeri
        • Matrice primeri
        • Funkcije u C/C++ jeziku -primeri
        • Primeri Algoritama >
          • Algoritmi-primeri >
            • Zamena iteracija formulom-primeri >
              • Nedostajući broj-uputstvo
          • Rekurzija-primeri >
            • Prvi i drugi na rang listi
          • Kombinatorika-primeri
          • Bektreking i gruba sila primeri
      • Dodatni primeri sa rešenjima >
        • Dodatni primeri sa rešenjima – algoritmi, petlje, grananje, OOP
        • Podaci i tipovi podataka-dodatni primeri
        • Dodatni primeri za vezbu - grananje u programu
        • Dodatni primeri iz petlji
        • Dodatni primeri za vezbu - Klase i objekti >
          • Ramovi za slike objekti-rešenje
          • Zadatak 2-Grupa radnika objekti
          • Salon Automobila rešenje
          • Zadatak 3. Kretanje automobila objekti-rešenje
          • Upravljanje porudžbinama u restoranu -rešenje zadatka
        • Kombinovani primeri za vezbu >
          • Zadatak 6-Interval-rešenje
      • Takmičenja-primeri >
        • Takmičenja primeri - vodič
        • Priprema za okružna takmičenja 1
        • Priprema za okružna takmičenja 2
        • Kvalifikacije za okružna takmičenja >
          • Datum sa najvećom zaradom-rešenje
          • Zbirovi nakon podele - rešenje
          • Zadatak Mešalica-rešenje
          • Zadatak Kuvar Rešenje
          • Zadatak Slovarica rešenje
          • Zadatak Note rešenje
          • Resenje zadatka Tačan Izraz
          • Zadatak Puž rešenje
          • Zadatak Seča Drva-rešenje
        • Opštinska takmičenja >
          • Zadatak Bejzbol Rešenje
        • Okružna takmičenja >
          • Zadatak Milioner rešenje
          • Zadatak Dve Slike Na Papiru
        • Priprema za državna takmičenja
        • Priprema za više nivoe takmičenja >
          • Priprema za drzavno takmičenje i SIO >
            • Zadatak Aritmetički trougao-rešenje
            • Obilazak konja-zadatak
            • Reči u mreži zadtak-rešenje
          • Interaktivni Algoritmi >
            • Zadatak Joker rešenje
            • Zadatak Boja rešenje
            • Zadatak Maksimizacija BTC
      • Objektno programiranje-primeri >
        • Klase i objekti - primeri
      • Testovi >
        • Testovi i kontrolni zadaci — vežbanje, mini-testovi i priprema
        • Kontrolni podaci
        • Kontrolni selekcije
        • Kontrolni petlje
        • Kontrolni - objekti i metode
        • Kontrolni Nizovi
  • Programski jezici
    • Programski jezici vodič
    • C >
      • C programski jezik
      • Uvod u programski jezik C
      • Elementi jezika C
      • Podaci u C jeziku
      • Operatori u C jeziku
      • Grananje u programu u C jeziku
      • Petlje u C programskom jeziku >
        • Petlje u programskom jeziku C
        • Ugnježdene petlje u C
      • Nizovi u jeziku C >
        • Nizovi u jeziku C
        • Dvodimenzionalni nizovi - matrice
        • Dvodimenzioni dinamički nizovi-matrice
      • C Stringovi
      • Pokazivači u C jeziku
      • Funkcije u C
    • C++ >
      • C++ programski jezik
      • Uvod u programski jezik C++
      • Podaci u C++ jeziku
      • Operatori u C++ jeziku
      • Grananje u programu u C++
      • Petlje u C++ programskom jeziku >
        • Petlje u programskom jeziku C++
        • Ugnježdene petlje u C++
      • Nizovi u C++ jeziku >
        • Nizovi u jeziku C++
        • Dinamički niz-vector
        • Rečnik podataka-mape u C++
        • Dvodimenzionalni nizovi - matrice u c++
        • Dvodimenzioni dinamički nizovi u c++
      • Stringovi u C++ jeziku
      • Pokazivači u C++
      • Funkcije u C++
    • C# >
      • C# – lekcije, primeri i vežbe
      • Uvod u C#
      • Kreiranje jednostavne aplikacije u C#
      • LINQ i Lambda izrazi u C#(Sharp)-u
      • Napredni C#(Sharp) primer
      • Konekcija sa bazom u C#-primer
      • Primer sa MySql bazom podataka
      • Kreiranje Windows Form App Sa SQLServer Bazom
    • JAVA >
      • Java – lekcije, primeri i zadaci
      • Uvod u Javu
      • Java osnove >
        • Podaci u JAVA programskom jeziku
        • Operatori u JAVI
        • Grananje u programu u programskom jeziku Java
        • Petlje u Javi
        • Nizovi u Javi
      • Objektno programiranje >
        • Klase i objekti
        • Metode i objekti
        • Nasleđivanje klasa
        • Apstraktne klase i interfejsi
      • Grafika u JAVI >
        • Grafika u Javi uvod
        • Grafički korisnički interfejs(GUI)
        • Događaji u JAVI
        • Crtanje u prozoru
        • Animacije u Javi-primer
        • Kreiranje 2D igrice u JAVI
        • Grafika u Javi-primer
        • Aplikacije u Javi-primeri
      • Simulacije u fizici >
        • Java i simulacije u fizici
        • Klase i objekti sa primenom u fizici
        • Upotreba ciklusa i nizova u simulacijama iz fizike
        • Primeri simulacija u EJS-u
    • Processing >
      • Processing – lekcije i primeri
      • Processing - uvod
      • Osnove processinga sa Javom
      • Processing i mikrobit
      • Vektori u Processing-u >
        • Opracije sa vektorima
      • Processing u 2D >
        • Kosi hitac u Processing-u
        • Primer kosog hica u processingu
        • Strma ravan u Processing-u
        • Analiza klizanja tela niz strmu ravan primer
        • Animacija Kružnog kretanja
      • Processing u 3D >
        • Uvod u 3D processing
        • Kretanje 3D objekata u processing-u
    • Arduino i ESP32 programiranje >
      • Arduino i ESP32 programiranje
      • Arduino programiranje >
        • Arduino Uno – Uvod
        • Arduino LDR Vežba-Prikaz osvetljenja
        • Arduino senzor temperature
        • DC motor-Upravljanje sa arduinom
      • ESP32 programiranje >
        • Uvod u ESP32
        • ESP32: Ultrazvučni senzor
        • ESP32-Primena kod servo motora
        • ESP32 Pokretanje pumpe za vodu
    • Python >
      • Uvod u python
      • Zašto učiti Python
      • Osnovni Python >
        • Python Osnovni Tutorijal — Početna za lekcije i primere
        • Python osnove >
          • Python za početnike – Instalacija i Prvi Program
          • Prvi program u python-u
          • Aritmetičke operacije u python-u
          • Mini projekti za početnike
          • Promenljive i tipovi podataka
          • Python input() — unos podataka za početnike
          • Formatiranje teksta-F string
          • Mini projekat-python
        • Kontrola toka programa >
          • Python grananje i logički operatori — if / elif / else
          • Grananje u Pythonu — if, elif, else | Svet Programiranjai
          • Mini zadaci- Temperatura i kviz
          • Petlje - while,for
          • Iteracije i osnovni algoritmi u Python-u
          • Mini zadaci — Petlje (for i while)
          • Nizovi i liste u python-u
          • Mini projekat: igra „Pogodi broj“
        • Funkcije i modularno programiranje >
          • Python funkcije
          • Python parametri i povratne vrednosti
          • Python opseg promenljivih
          • Modularno programiranje- moduli i import
        • Mini projekti i praktične vežbe >
          • Projekat: Pogodi broj
          • Mini projekat: Organizacija programa u module
          • Mini projekat — Brojač bodova i statistika
          • Mini projekat — Tekstualni meni
          • Mini projekat — Simulacija semafora
          • Završni mini projekat — Digitalni brojač
      • MycroPython(microbit) >
        • Micro:bit — MicroPython
        • Osnove programiranja (MicroPython) >
          • Uvod i osnovni programi >
            • Uvod u micropython
            • MicroPython: LED matrica — prikaz teksta i slika na micro:bit-u
            • MicroPython — Dugmad
          • MicroPython — Petlje i vreme
          • MicroPython – promenljive i funkcije
          • MicroPython – random i algoritmi
        • Senzori i ulazi >
          • MicroPython — Senzori
          • MicroPython: kompas i temperatura
          • MicroPython – dodatni senzori i aktuatori
        • Komunikacije i Projekti >
          • MicroPython: radio komunikacija
          • MicroPython: radio projekti
          • MicroPython: mini projekti
          • MicroPython – serial i Processing
      • Python + Processing >
        • Python i processing početna
        • Osnova i okruženje >
          • Python i Processing — uvod
          • Instalacija Processing 4
          • Prvi sketch — crtanje
        • Crtanje i grafika >
          • Oblici i boje i rad sa slikama
        • Animacija i interakcija >
          • Animacija i promenljive
          • Interakcija (miš i tastatura)
        • Mini projekti - igre >
          • Mini projekat: Pong
          • Pong u Pythonu — Score i Game Over
          • Pong sa 2 Igrača u Pythonu — Processing
          • Pong OOP u Pythonu — Modularna igra
          • Nizovi i liste — Python Processing
        • Vizuelizacija i projekti >
          • Crtanje grafikona — Python Processing
          • Interaktivni grafikon — Python Processing
        • Kreativni i takmičarski projekti >
          • Generativna umetnost
          • Projekti za takmičenja
          • Izvoz i prezentacija
      • Python za web >
        • Python web programiranje
        • Uvod u Python web >
          • Uvod u Python web programiranje
          • HTTP protokol i web komunikacija
          • Klijent server model u web aplikacijama
        • Uvod u Flask >
          • Python Flask uvod
          • Prva Flask web aplikacija
          • Flask rute u Pythonu
          • Flask rute i HTML template
        • Django framework >
          • Django uvod
          • Kreiranje Django projekta
          • Django modeli i baza podataka
          • Django forme i registracija korisnika
          • Django web aplikacija
          • Postavljanje Django aplikacije na server
          • Python web projekti za početnike
      • Projekti >
        • Python projekti
        • Početnički projekti >
          • Python kalkulator projekat
          • Python projekat – Pogodi broj
          • Python generator lozinki
          • Program za nasumične citate u Pythonu
        • Projekti sa podacima >
          • Analiza CSV fajlova u Pythonu
          • Python projekat – Program za osnovnu statistiku
        • Grafički Projekti >
          • Pong igra u Processing Python modu
          • Generativna grafika u Pythonu
        • Web Projekti >
          • To-Do web aplikacija u Flask frameworku
          • Django blog aplikacija
        • Napredni Projekti >
          • Python chat server
          • Python REST API
    • Mikrobit i programiranje >
      • Microbit – Učenje programiranja za osnovce
      • Programiranje mikrobita snove >
        • Uvod u mikrobit
        • Naredbe u Makecode-u
        • Palete komandi Variables, Led. Temperatura i osvetljenje
        • Radio veza na mikrobitu
        • Upotreba promjenljivih i kontrolnih naredbi u programima
        • Kontrolne naredbe u programima mikrobita
        • Petlje-mikrobit
      • Programiranje mikrobita napredno >
        • Igrice i mikrobit
        • Mikrobit projekti i radionice
  • Resursi
    • Trendovi u programiranju
    • Učenje na daljinu >
      • Učenje na daljinu-osnovci takmicari
    • Internet stvari
    • Linkovi
  • Kontakt