python add the total number of inputs in class code example
Example: sum of 2 numbers in python
a = int(input("Enter first number:"))
b = int(input("Enter second number:"))
sum = a+b
print(sum)
a = int(input("Enter first number:"))
b = int(input("Enter second number:"))
sum = a+b
print(sum)