Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- s = 0
- x = 1
- while x <=10:
- s = s +x;
- print("x:", x,"sum:", s)
- x = x +1
RAW Paste Data