0
What is problem with this code please can anyone correct it
https://code.sololearn.com/c4dcWzABaYkf/?ref=app https://code.sololearn
3 odpowiedzi
+ 6
There. It will run an EOF error though, as there is an infinite loop there, while Sololearn's Code Playground may take a finite number of inputs at a time.
https://code.sololearn.com/c0Y1qOY9lgFc/?ref=app
+ 11
It is indented... Indenting is very important in Python! Just delete some lines there
+ 10
https://code.sololearn.com/cwn1XQ04Z64q/?ref=app
In the greetings list you used ' ' double single quotes... Change them to single
This is the correct indentation... And please remove while True, as it will return an infinite loop...
Also use input() instead of raw_input() as it is deprecated in Python 3.x!