rs200415@rguktsklm.ac.in
CODERZONE
Home
Newsbuzz
PUC Material
Courses
Python Tutorial
C Tutorial
C++ Tutorial
java Tutorial
login
Run
Back
#try to avoid input function a = int(input("Enter any Number :")) b = 0 for i in range(1,a+1): b = b+i print("Sum of N Numbers is :",b,"Average of the N Numbers is :",(b/i))
#try to avoid input function a = int(input("Enter any Number :")) b = 0 for i in range(1,a+1): b = b+i print("Sum of N Numbers is :",b,"Average of the N Numbers is :",(b/i))
Click the run button. Try to avoid input() function.