All challenges
Multiple ChoiceBeginner 30s

String isdigit

Choose the best answer for: str.isdigit()
Options
  1. 1isdigit() checks if all chars are digits
  2. 2isdigit() checks if string is a number
  3. 3isdigit() works on floats
  4. 4isdigit() converts to int

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle