Skip to content
Snippets Groups Projects
Commit e0b3b98c authored by Felipe Delestro Matos's avatar Felipe Delestro Matos
Browse files

docs directory

parent 8d47537a
Branches
No related tags found
No related merge requests found
# Documentation
In the `docs` directory we can add extended documentation about the repository
This is a good place for more detailed descriptions that would make the readme fille too long.
Small images used to illustrate the documentation can be added to the `docs/img/` directory:
![image](img/blobs_256x256.tif)
`
\ No newline at end of file
File added
print ("This is an example script file")
print ("Scripts are supposed to be be stand alone files that can perform a task")
print ("Here we print the Fibonacci sequence to the level desired by the user")
def fibonacci(n):
fib_sequence = [0, 1]
while len(fib_sequence) < int(n):
next_num = fib_sequence[-1] + fib_sequence[-2]
fib_sequence.append(next_num)
return fib_sequence
# Print the first Fibonacci numbers
val = input("\nEnter an amount: ")
for num in fibonacci(val):
print(num)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment