Python Programs:
#Program to print Fibonacci series upto "N". "N" is user input
N = int(input("Enter a valid integer : => "))
a, b = 0, 1
while b <= N:
print(b)
a, b = b, a + b;