Exercise: Check if string starts with letter

Complete the code below to check if str starts with letter a. Use the Equal operator and apply what you learned about string indexing.
str = 'apple' # check if str starts with letter a
starts_with_a = str[
print(starts_with_a)
Python
Setting up Python environment...
Output