What do you want to save?
Add Code snippet
New code examples
-
Python 2022-02-04 11:55:01
s=0 def sum(x,y): n=int(input("enter no. of terms") for i in range(n): l=int(input("enter no.")) s=s+l print(s) sum()
s=0 def sum(x,y): n=int(input("enter no. of terms") for i in range(n): l=int(input("enter no.")) s=s+l print(s) sum() Add solution -
Python 2022-02-03 14:42:58
dump data to pickle python
import pickle # take user input to take the amount of data number_of_data = int(input('Enter the number of data : ')) data = [] # take input of the data for i in range(number_of_data): raw = input('Enter data '+str(i)+' : ') data.append(raw) #... Add solution
Best helpers
Ranking is empty