+ 1

Why is the answer to this code “hotpy” ??

What is the output of this code? Text5 = “I love programming” Text6 = “I love science” Text7 = “I love myself” Text = [text5,text6,text7] New = text[1][3] Print(“h” + new + “t” + “p” + “y”) ******************************* Thanks in advance!!

4th Jan 2022, 10:10 PM
K Ka
3 Answers
+ 2
text = [“I love programming”, “I love science“, “I love myself”] text[1] = “I love science“
4th Jan 2022, 10:50 PM
Solo
Solo - avatar
+ 2
Solo Solomoni Railoa Thank you both very much! Probably sounded like a silly question!
5th Jan 2022, 12:03 PM
K Ka