Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
learning-merge
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
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
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
Jean-Claude Dufourd
learning-merge
Commits
d5d2c004
Commit
d5d2c004
authored
1 year ago
by
Jean-Claude Dufourd
Browse files
Options
Downloads
Patches
Plain Diff
initial
parents
Branches
initial
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
pyvenv.cfg
+8
-0
8 additions, 0 deletions
pyvenv.cfg
src/fib.py
+10
-0
10 additions, 0 deletions
src/fib.py
src/test.py
+5
-0
5 additions, 0 deletions
src/test.py
with
23 additions
and
0 deletions
pyvenv.cfg
0 → 100644
+
8
−
0
View file @
d5d2c004
home
=
/Applications/Xcode.app/Contents/Developer/usr/bin
implementation
=
CPython
version_info
=
3.9.6.final.0
virtualenv
=
20.16.7
include-system-site-packages
=
false
base-prefix
=
/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9
base-exec-prefix
=
/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9
base-executable
=
/Applications/Xcode.app/Contents/Developer/usr/bin/python3
This diff is collapsed.
Click to expand it.
src/fib.py
0 → 100644
+
10
−
0
View file @
d5d2c004
def
fibonacci
(
n
):
sequence
=
[]
a
,
b
=
0
,
1
while
len
(
sequence
)
<
n
:
sequence
.
append
(
a
)
a
,
b
=
b
,
a
+
b
return
sequence
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/test.py
0 → 100644
+
5
−
0
View file @
d5d2c004
from
fib
import
fibonacci
fib_sequence
=
fibonacci
(
15
)
print
(
fib_sequence
)
\ No newline at end of file
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