FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Python_Training_2026/python_mediumPrograms/sum.py at main · charull44/Python_Training_2026 · GitHub
charull44
/
Python_Training_2026
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
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_Training_2026
/
python_mediumPrograms
/
sum.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
7 lines (7 loc) · 129 Bytes
Breadcrumbs
Python_Training_2026
/
python_mediumPrograms
/
sum.py
Copy path
File metadata and controls
7 lines (7 loc) · 129 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
n
=
int
(
input
(
"Enter number:"
))
sum
=
0
i
=
1
while
i
<=
n
:
sum
=
sum
+
1
i
=
i
+
1
print
(
"Sum of first"
,
n
,
"numbers is:"
,
sum
)
Back
|
FazBrowse Home
|
New Git URL