Skip to content

0sunny/pyp-c1-a1-b4-g3-t3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

[pyp-c1-a1] Fibonacci numbers

(http://en.wikipedia.org/wiki/Fibonacci_number)

Write a program that generates the nth number in a fibonacci sequence (starting at 0). The program should start and ask two things:

The number that will describe the nth term you want to get if the function should be recursive or not The program should count with data validation. It means that the program must inform the user when the number she inserted is invalid.

Extra: If the user passes a --recursive argument, the program should not ask for the function to use and use the recursive function.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%