0

What is the output of...

li = [“abc”, 23, 4.34, 23] li[1] = 45 li

25th Mar 2020, 3:12 PM
Eashan Wantu
Eashan Wantu - avatar
5 Answers
25th Mar 2020, 3:34 PM
Eashan Wantu
Eashan Wantu - avatar
+ 2
You can run it and see. It replaces the value of li[1] ==23 with 45 New list ["abc",45,4.34,23]
25th Mar 2020, 3:18 PM
Justus
Justus - avatar
+ 1
Should be print(li) not li
25th Mar 2020, 3:23 PM
Justus
Justus - avatar
+ 1
there is an error in your program,at last line u have to mention print command you get this answer ['abc', 45, 4.34, 23]
29th Mar 2020, 4:06 PM
Mohamed Riyaz M A
Mohamed Riyaz M A - avatar
0
when i run it...it shows no output...
25th Mar 2020, 3:18 PM
Eashan Wantu
Eashan Wantu - avatar