1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

[Python] Why do I get "TypeError: input expected at most 1 arguments, got (more than 1)"?

Discussão em 'Python' iniciado por Stack, Setembro 10, 2024.

  1. Stack

    Stack Membro Participativo

    I'm making a small guessing game in Python where the computer guesses a number chosen by the player. I'm getting an error when I try to ask for user input:

    answer = input("Is it", guess, "?")


    This line throws


    TypeError: input expected at most 1 arguments, got 3

    What am I doing wrong?

    Continue reading...

Compartilhe esta Página