Python Programs

# Fibonacci series
# Using Multiple assignments and keyword argument end
# the sum of two elements defines the next
a, b = 0, 1
while a < 10:
    print(a, end=' ')
    a, b = b, a+b




Comments

Popular posts from this blog

Converting Excel File to JSON File using xlrd module

Using Oracle with Python

Using time module