πŸ“Š Python
Q. Output of the following python program will be?
Code:
x = [i**+1 for i in range(3)]; print(x);
  • (A) [1,2,5]
  • (B) [0,1,2]
  • (C) Error ';"
  • (D) None of the above
πŸ’¬ Discuss
βœ… Correct Answer: (B) [0,1,2]

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
194
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Parvesh Kanani
Publisher
πŸ“ˆ
81%
Success Rate