πŸ“Š Python Programming
Q. What is the output of the following program?
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

πŸ‘οΈ
213
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
84%
Success Rate