30-Days-Of-Python icon indicating copy to clipboard operation
30-Days-Of-Python copied to clipboard

day4 has an error

Open PantiesIsStoopid opened this issue 1 year ago • 2 comments

Python30Days\04_Day_Strings\day_4.py", line 171, in print(challenge.digit()) # True ^^^^^^^^^^^^^^^ AttributeError: 'str' object has no attribute 'digit'. Did you mean: 'isdigit'?

PantiesIsStoopid avatar Oct 24 '24 13:10 PantiesIsStoopid

type "print (challenge.isdigit())" instead of "print(challenge.digit())"

SnehalArde avatar Dec 28 '24 15:12 SnehalArde

line171 revise:print(challenge.isdigit()) # True

Telescope11 avatar Mar 17 '25 11:03 Telescope11