Consider the following code:
my_items = {'apple','banana','orange'}
x = input("Enter a string : ")
I need to check whether the input starts with any one of the strings in the set and execute some code if it is true. For example, if the input is "apple is tasty", then it should execute some code, else just pass. How do I do that?