Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Example repository - Level 1 - Basic
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
QIM
Tutorials
Example repository - Level 1 - Basic
Commits
e0b3b98c
Commit
e0b3b98c
authored
1 year ago
by
Felipe Delestro Matos
Browse files
Options
Downloads
Patches
Plain Diff
docs directory
parent
8d47537a
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/details.md
+10
-0
10 additions, 0 deletions
docs/details.md
docs/img/blobs_256x256.tif
+0
-0
0 additions, 0 deletions
docs/img/blobs_256x256.tif
scripts/fibonacci_example.py
+15
-0
15 additions, 0 deletions
scripts/fibonacci_example.py
with
25 additions
and
0 deletions
docs/details.md
0 → 100644
+
10
−
0
View file @
e0b3b98c
# 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:

`
\ No newline at end of file
This diff is collapsed.
Click to expand it.
docs/img/blobs_256x256.tif
0 → 100644
+
0
−
0
View file @
e0b3b98c
File added
This diff is collapsed.
Click to expand it.
scripts/fibonacci_example.py
0 → 100644
+
15
−
0
View file @
e0b3b98c
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
(
"
\n
Enter an amount:
"
)
for
num
in
fibonacci
(
val
):
print
(
num
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment