Num=int(input("enter any number") Result=0
While num > 0:
Answers
Answered by
0
Explanation:
// here you can forget the last closing paranthiss
Num = int( input("enter any number") )
Result = 0
// Make sure variables are case sensitive in python
// make sure you can give proper indentaion to make block of while lool
// while keyword are lowercase
while Num >0 :
Result += Num
Num--
print "result is ", Result
Similar questions