Oii, João! Vou te ajudar a completar o código.
O problema no seu código está nos parâmetros passados para a função input()
. Eles não devem receber argumentos, pois o input()
por padrão lê uma linha de texto do usuário. E, você precisa adicionar a parte que realiza a soma e exibe o resultado.
Um exemplo:
# Simple Python program for beginners
# It adds two numbers entered by the user
# Ask the user for the first number
num1 = input("Enter the first number: ")
# Ask the user for the second number
num2 = input("Enter the second number: ")
# Convert inputs from text to integers
num1 = int(num1)
num2 = int(num2)
# Add the numbers
result = num1 + num2
# Print the result
print("The sum is:", result)