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

Explanation: `int()` converts a string or other types to integer if possible.

Explanation by: Mr. Dubey
`int()` converts a string or other types to integer if possible.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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