What will be the output of the following command?

11. What will be the output of the following command

L1=["ram","hello",1,2,3,"hello world",[1,2,3,4]] ;
print (L1)?
    
  1. "ram","hello",1,2,3,"hello world",1,2,3,4
  2. "ram","hello",1,2,3,"hello world",[1,2,3,4]
  3. ["ram","hello",1,2,3,"hello world"],[1,2,3,4]
  4. Error

Answer: B) "ram","hello",1,2,3,"hello world",[1,2,3,4]

Explanation:

"ram","hello",1,2,3,"hello world",[1,2,3,4] will be the outcome of the above command.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.