Skip to content

My solution to the Python assessment for She Codes Africa

Notifications You must be signed in to change notification settings

Sophia-Cy/SCAMP-Assessment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

SCAMP-Assessment

My solution to the Python assessment for She Codes Africa

def Fibon(n): if n<=1: return n else: return(Fibon(n-1) + Fibon(n-2)) nterms = int(input("Please enter the number of terms here: ")) if nterms <= 0: print("Enter a positive number: ") else: print("Fibonacci sequence is: ") for i in range(nterms): print(Fibon(i)," ", end=" ")

About

My solution to the Python assessment for She Codes Africa

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published