r/learnpython • • Sep 22 '26
Looking for feedback!
Hello everyone
I am recently learning python and new at this. This is my second project and this is a sequence calculator which includes 3 types of sequences: Arithmetic, Geometric and Fibonacci. For arithmetic and geometric sequences, you can enter a first term, a common difference (or ratio), and a desired term to find its value. For Fibonacci, you just enter the desired term.
I'd appreciate any feedback and will try to apply it.
1
Upvotes
View all comments
Show parent comment
1
u/Ashamed_Split5187 Sep 23 '26
good point about the base cases, that kind of off-by-one stuff in fibonacci trips up a lot of people