0

Help with python

Hi. How can the user input "string1" or "string2" in the following code to output "Hello world"? I couldn't solve the "any number". user_input = input(" ") if user_input == "string" + "any number": print ("Hello world")

6th Aug 2018, 12:44 AM
Vinho Branco
Vinho Branco - avatar
1 Resposta
9th Aug 2022, 3:04 AM
Catafrancia Mapper
Catafrancia Mapper - avatar