str = 'apple'
# check if str starts with letter a
starts_with_a = str[
print(starts_with_a)
Python
Setting up Python environment...
Output
str = 'apple'
# check if str starts with letter a
starts_with_a = str[
print(starts_with_a)
Setting up Python environment...