Простая сумма в Python
a = int(input("Enter the value of a: "))
b = int(input("Enter the value of b: "))
# print(a[0] + a[1] + a[2] + a[3])
print("The total is: ")
print(sum(a + b))
Coding boy Hasya