πŸ“Š Python
Q. Which of the following functions converts a “string” to “float” in Python?
  • (A) str(x)
  • (B) float(x)
  • (C) long(x [,base])
  • (D) int(x [,base])
πŸ’¬ Discuss
βœ… Correct Answer: (B) float(x)

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
184
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Rajeev Malhotra
Publisher
πŸ“ˆ
80%
Success Rate