+ 1

Is this code right? If not, How can we correct its syntax?

s='think' s= ".join(sorted(list(s)[:4])) print(s)

2nd Jun 2018, 12:27 PM
Merci BACISHOGE Manegabe
Merci BACISHOGE Manegabe - avatar
3 Réponses
+ 7
'' on line 2 is two single quotes instead of one double quote.
2nd Jun 2018, 12:34 PM
Hatsy Rei
Hatsy Rei - avatar
+ 1
I took this code from a challenge question proposed by @Demeth. I've already signaled another wrong question. I want to know if moderators have ability to delete questions which syntax are false.
2nd Jun 2018, 12:59 PM
Merci BACISHOGE Manegabe
Merci BACISHOGE Manegabe - avatar
+ 1
Thank you Hatsy Rei. Demeth has just corrected is question.
2nd Jun 2018, 4:15 PM
Merci BACISHOGE Manegabe
Merci BACISHOGE Manegabe - avatar