Home
About
Contact
Header Ads Widget
Home
Coding Questions
_C/C++ Programs
_Python Programs
_Data Structure Programs
_Competitive Coding
Practice Problems
Key Points
Notes
MCQs
Interview
Trends
Home
python_programs
Write a program to find sum of number from 1 to 100.
Write a program to find sum of number from 1 to 100.
Rajnish Tripathi
20:18
code:-
sum
=
0
for
i
in
range
(
1
,
101
):
sum
=
sum
+i
print
(
"sum= "
,
sum
)
Output:-
sum
=
5050
Post a Comment
0 Comments
Popular post
PPS 1st year (C programming ) handwritten notes Aktu
11:47
pps unit 1 notes
09:54
Python : missing characters : hackerrank solution
23:01
Social Plugin
MCQs
3/MCQs/post-list
Tags
c-programs
Companies
competitve programs
Data structure
doubts
key points
MCQs
Notes
practice problems
python
0 Comments