1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] HI, I am new and don't really know what I am doing could someone help me with my...

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

  1. Stack

    Stack Membro Participativo

    This is what it gives me when I run it.

    Traceback (most recent call last):
    File "main.py", line 6, in <module>
    name2 = int(input("What whould you like me to call you", name1))
    TypeError: input expected at most 1 argument, got 2


    This is my work

    #Birthday
    feeling = input("Hello, how are you doing? ")
    print("Good to hear you're doing well")
    name1 = input("And what is your name: " )
    print("Lovely name ;) ")
    name2 = int(input("What would you like me to call you", name1))
    print("Welcome to Birthday Plaza where we do all the work for you", name2)

    Continue reading...

Compartilhe esta Página