Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- n = int(input())
- a= []
- a.append(1)
- i= 1
- while i<n:
- a.append(a[i-1]+2)
- i = i+1
- print(a[n-1])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement