Skip to content

Instantly share code, notes, and snippets.

Created Jun 3, 2021
What would you like to do?
lastNumber = int(input("Enter last number of series: "))
firstNumber, secondNumber = 0, 1
for i in range(0, lastNumber):
firstNumber, secondNumber = secondNumber, firstNumber + secondNumber
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment