Skip to content

rmotr-group-assignments/pyp-c1-a1-b4-g3-t1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 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 for two things:

  1. The number that will describe the nth term you want to get
  2. Whether the function should be recursive or not

The program should count with data validation. This means that the program must inform the user when the number they 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