0

How can plus1 to 100 odd number

sum=0 for i range(1,101): sum=sum+count

25th Mar 2017, 2:44 PM
정은희
정은희 - avatar
2 ответов
0
sum( [ i for i in range(1,100,2)])
25th Mar 2017, 2:56 PM
SAMI Awad
SAMI Awad - avatar
0
we cant use range(1,100,2) only range(1,100)
26th Mar 2017, 3:37 AM
정은희
정은희 - avatar