Untitled
unknown
plain_text
3 years ago
183 B
6
Indexable
def Tot (Number): #Method to find Total
Sum = 0
for C in range (1, Number + 1):
Sum += C
return Sum
print (Tot(3)) #Function Calls
print (Tot(6))Editor is loading...