πŸ“Š Python
Q. Which function converts a string to an integer?
  • (A) int()
  • (B) str()
  • (C) float()
  • (D) bool()
πŸ’¬ Discuss
βœ… Correct Answer: (A) int()

Explanation: `int()` converts a string or float to an integer.

Explanation by: Mr. Dubey
`int()` converts a string or float to an integer.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
43
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
92%
Success Rate