0

How can i print few items from the list?

How do I print LION from the list below. >>> name = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"

7th Sep 2017, 7:45 PM
Rohit Sajwan
2 Respostas
+ 3
name = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" print (name[11],name[8],name[14],name[13])
7th Sep 2017, 8:12 PM
Nomeh Uchenna Gabriel
Nomeh Uchenna Gabriel - avatar
+ 1
And (refer to my previous remark in your other thread) don't post many time the same question: you can edit them if title, tags and/or description doesn't finaly suit to you after having posting it: it would be considerated as spam ;P https://www.sololearn.com/Discuss/695484/?ref=app
7th Sep 2017, 8:50 PM
visph
visph - avatar