πŸ“Š Python
Q. What is the output of the following program?
Code:
from math import sqrt
L1 = [x**2 for x in range(10)].pop()
L1 + = 19
print(sqrt(L1), end = " ")
L1 = [x**2 for x in reversed(range(10))].pop()
L1 + = 16
print(int(sqrt(L1)))
  • (A) 10.0 4.0
  • (B) 4.3588 4
  • (C) 10 .0 4
  • (D) 10.0 0
πŸ’¬ Discuss
βœ… Correct Answer: (C) 10 .0 4

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
233
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
94%
Success Rate