- 2

Python question

Given below are statements for creating lists.Find errors,if any, and rewrite the correct statements- L1=3,18,a,25 L2=[Ram,Sarabjeet,Nishant,Kamal]

28th Nov 2020, 6:22 AM
Secret Superstar
Secret Superstar - avatar
2 Answers
+ 5
Please don't just ask others to do questions for you. Try to do them yourself. In questions like these where you have to find the error, just try running the program. The compiler/interpreter will throw an error. Research what the error means on the internet, and you will have your answer. Not only will you be able to solve your problem, you will also learn new things
28th Nov 2020, 6:42 AM
XXX
XXX - avatar
+ 3
L1=[3,18,'a',25] L2=['Ram','Sarabjeet','Nishant','Kamal']
29th Nov 2020, 3:43 PM
Anjali Sahu
Anjali Sahu - avatar