πŸ“Š Problem Solving and Python Programming
Q. )*5/9) for x in t]
  • (A) [0]
  • (B) 0
  • (C) [0.00]
  • (D) error
πŸ’¬ Discuss
βœ… Correct Answer: (D) error

Explanation: the value of t in the code shown above is equal to 32.00, which is a floating point value. ‘float’ objects are not iterable. hence the code results in an error.


Explanation by: Mr. Dubey
the value of t in the code shown above is equal to 32.00, which is a floating point value. ‘float’ objects are not iterable. hence the code results in an error.

πŸ’¬ Discussion

πŸ“Š Question Analytics

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