Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis0
Read question in desciptions
userin = input () rev= userin [ : : -1] print(f"input={userin}\n output={rev}")
3 Respostas
+ 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.
+ 2
0
PÅĆ”vĆØĆ©Å SĆ ini
So what is your question.
There should not be space in variable.