###Python fibonacci sequence script
###Easy math and print
###By Lukas Schmelzer 08-10-2025

#Script only for first 10 numbers, if you need more change variable max_iteration

#Defining variables
max_numbers = 10                                     #maximum iterations we wanna make
start_fib = 0                                        #start definition of sequence --> fibonacci starts with 0
second_fib = 1                                       #second fibonacci number
n_fib = 0                                            #result of first iteration
counter = 0                                          #for while loop, otherwise you have infinit iterations = crash of rhino --> been there, done that :)

print ("first 10 fibonacci numbers including starting 0\n")

while counter <= max_numbers:                        #while loop until, in this case, 10 iterations 
    if start_fib > 0:                                #if to print the correct start end second number --> without you have double 11 at the beginning
        print (second_fib)
    else:
        print (start_fib)
    n_fib = start_fib + second_fib                   #main calculation
    start_fib = second_fib                           #prepare variables for next iteration
    second_fib = n_fib                               #prepare variables for next iteration
    counter = counter + 1                            #increase counter for while loop

print ("\nif you want to go even further (be careful this can get out of hand quickly ;)) increase variable max numbers\n")

print ("you can find the fibonacci in nature, like flowers\n")


print ("  /\/\/\    ")
print ("  \    /     ")
print ("   \  /     ")
print ("    \/     ")
print ("     |     ")
print ("   \ |     ")
print ("    \|     ")
print ("     |     ")
print ("     |     ")
print ("     |     ")
print ("     |     \n")


print ("or some really slow creatures\n")



print ("       ______________        ")
print ("      |              |        ")
print ("      |     ____     |          _")
print ("      |    | __ |    |         |_|  ")
print ("      |    ||__||    |        /")
print ("      |    |____|    |       /")
print (" _____|______________|______/")
print ("|___________________________|")
