[Python] why am i getting the error "TypeError: 'type' object is not subscriptable" (Thonny)...

Discussão em 'Python' iniciado por Stack, Abril 1, 2025.

  1. Stack

    Stack Membro Participativo

    p = Player()
    p.name = raw_input[str["What is your character's name? "]]
    print ("(type help to get a list of actions)\n")
    print ("%s enters a dark cave, searching for adventure." % p.name)

    Continue reading...

Compartilhe esta Página