mirror of
https://github.com/Asabeneh/30-Days-Of-Python.git
synced 2026-06-12 21:01:48 +08:00
Merge pull request #697 from jbscript/master
Fix isalpha() check for challenge string to return False
This commit is contained in:
commit
16712cf431
@ -153,7 +153,7 @@ print(challenge.isalnum()) # False
|
||||
# isalpha(): Checks if all characters are alphabets
|
||||
|
||||
challenge = 'thirty days of python'
|
||||
print(challenge.isalpha()) # True
|
||||
print(challenge.isalpha()) # False
|
||||
num = '123'
|
||||
print(num.isalpha()) # False
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user