πŸ“Š Python
Q. Which of these functions can convert a string to an integer?
  • (A) int()
  • (B) str()
  • (C) float()
  • (D) chr()
πŸ’¬ Discuss
βœ… Correct Answer: (A) int()

Explanation: `int()` converts a string representing a number into an integer.

Explanation by: Mr. Dubey
`int()` converts a string representing a number into an integer.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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