100 days of Python

100 days of Python

Python Day 4 Booleans and Strings

Challenge

  • Create a String
  • test if the String is a number >> isdigit()
  • test if the String is a only letters >> isalpha()
  • test if the String is capitalised >> isupper()
  • test if a String starts with a letter but it is also able to check this even if the string is capitalised or not capitalised.

Good Luck




Video Solution below.

 

Leave a Reply

Name *
Email *
Website