Loading…
Use re.match() to check whether the string 'Hello world' starts with Hello. Print Starts with Hello if it does, otherwise print Does not start with Hello.
Expected output: Starts with Hello
Create a free account to save your progress and reveal the worked answer for this free exercise. The complete practice library is available with Practice Pass or Mastery.
Create a free account to save your progress and reveal the worked answer for this free exercise. The complete practice library is available with Practice Pass or Mastery.