Lesson 9: Fibonacci series & 4 corners game

posted Jan 9, 2019, 8:09 AM by Attila Lengyel   [ updated Jan 11, 2019, 7:59 AM ]
a = 0
b = 1
print(a)
print(b)

for i in range(0,5):
c = a + b
print(c)
a = b
b = c

import random
import time

for i in range(0,10):
time.sleep(8)
print("Corner", random.randint(1,4), "is out!")
print("Run to an other corner!!!")
Comments