FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Python_Basics/python_programs/loop_with_continue.py at master · learnbyexample/Python_Basics · GitHub
This repository was archived by the owner on Dec 29, 2020. It is now read-only.
learnbyexample
/
Python_Basics
Public archive
Notifications
You must be signed in to change notification settings
Fork
196
Star
614
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
Python_Basics
/
python_programs
/
loop_with_continue.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
18 lines (13 loc) · 304 Bytes
Breadcrumbs
Python_Basics
/
python_programs
/
loop_with_continue.py
Copy path
File metadata and controls
18 lines (13 loc) · 304 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/python3
prev_num
=
0
curr_num
=
0
print
(
"The first ten numbers in fibonacci sequence: "
,
end
=
''
)
for
num
in
range
(
10
):
print
(
curr_num
,
end
=
' '
)
if
num
==
0
:
curr_num
=
1
continue
temp
=
curr_num
curr_num
=
curr_num
+
prev_num
prev_num
=
temp
print
(
""
)
Back
|
FazBrowse Home
|
New Git URL