input() lets your bot ask a question and wait. Whatever the player types comes back as text.
pet = input("Favourite pet? ")
print(pet.upper())
print(pet + "!")Favourite pet? cat CAT cat!
.upper() makes text shout. + glues two pieces of text together. When you click Run, a box pops up so you can type. When you Submit, the checker types hey for you.
input("Say something: ") and store the answer in word.word in capitals with .upper().word twice with one space between, like hey hey.word.upper() gives capitals. word + " " + word glues it twice with a space in the middle.
word = input("Say something: ")
print(word.upper())
print(word + " " + word)Press "Talk it out" at the top. Our Discord opens soon; until then email us and paste your code.