+ 1

Please can someone show me what is wrong with this code I don't understand thanks very much

https://code.sololearn.com/cr59YR24s2c9/?ref=app

10th Jul 2020, 11:19 PM
Etieneobong Okoneyo
Etieneobong Okoneyo - avatar
3 Réponses
+ 3
# This code gets the input and stores it in the inp variable. Then, it prints it. inp = input("Enter something please:") print(inp)
10th Jul 2020, 11:28 PM
Rowsej
Rowsej - avatar
+ 1
This will be the correct way. a = input("Enter something please:") #Enter something please: This is what\nthe user enters! #'This is what\\nthe user enters!' print(a) • Dont use unwanted lines of neccessary coment them • assigne a variable to user input in order to use its value.
11th Jul 2020, 12:59 AM
Ayush Kumar
Ayush Kumar - avatar
+ 1
x = input("Enter something please:\n\n") print(f"You EnteredThis: {x}")
11th Jul 2020, 2:26 AM
BroFar
BroFar - avatar