hi guys there's a code couldn't understand the output can s.one help me please ! explain it ! thank u :) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

hi guys there's a code couldn't understand the output can s.one help me please ! explain it ! thank u :)

x='abcde' y=x[-1:] print (len(y)) >>> 1 >>>

6th Apr 2018, 2:51 PM
molly
13 Answers
+ 9
James thank you so much 😃
6th Apr 2018, 6:50 PM
molly
+ 9
ah yeah we study everything with french here thats why but we speak arabic nd english as a mother-language :)
7th Apr 2018, 3:43 PM
molly
+ 9
Kasdallah Yasser im flattered thx :)
7th Apr 2018, 5:43 PM
molly
+ 8
hh okay good luck !
6th Apr 2018, 4:33 PM
molly
+ 8
Snapdragon nah im tunisian ^^
6th Apr 2018, 6:49 PM
molly
+ 7
okay ill try thank u
6th Apr 2018, 3:01 PM
molly
+ 7
what ! i get it y=e len(e) =1
6th Apr 2018, 4:29 PM
molly
+ 7
no im stuck with league of legends
6th Apr 2018, 4:33 PM
molly
+ 7
Hey @monya are you french ?
6th Apr 2018, 6:21 PM
Mattéo
+ 7
@monya Okay (because your codes titles are written in french...) 😀😀😀
7th Apr 2018, 11:35 AM
Mattéo
+ 6
yes tianerad ^^
6th Apr 2018, 4:30 PM
molly
+ 6
Yay, ok 👍😊
7th Apr 2018, 3:51 PM
Mattéo
+ 2
monya you learn coding and playing lol... do you know that's your my dreams girl
7th Apr 2018, 5:40 PM
Kasdallah Yasser
Kasdallah Yasser - avatar