0

Read question in desciptions

userin = input () rev= userin [ : : -1] print(f"input={userin}\n output={rev}")

8th Aug 2021, 5:20 AM
Praveen Saini
Praveen Saini - avatar
3 ответов
+ 3
Hi Praveen! Things you need to consider when you're declaring variables. 1. The first character of a variable name must be a letter or underscore (_). It can’t be a number. 1name -> X name1 -> ✔ _name -> ✔ 2. Variable names can’t include a mathematical or logical operator in their name. 2*name, 2+name 3. Always better to avoid using keywords as variable name. 4. Variable names can’t contain spaces.instead of space you can use underscore.(related to your question) So, you have to change your variable user in to user_in or userin.
8th Aug 2021, 5:33 AM
Python Learner
Python Learner - avatar
8th Aug 2021, 5:44 AM
Praveen Saini
Praveen Saini - avatar
0
Pŕávèéņ Sàini So what is your question. There should not be space in variable.
8th Aug 2021, 5:23 AM
A͢J
A͢J - avatar