πŸ“Š Python
Q. What will be the output of following python code?
Code:
a=list((45,)*4) 
print((45)*4) 
print(a)
  • (A) (45,45,45,45).[45,45,45,45].
  • (B) 180[(45),(45),(45),(45)].
  • (C) 180[45,45,45,45].
  • (D) Syntax error
πŸ’¬ Discuss
βœ… Correct Answer: (C) 180[45,45,45,45].

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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