Python list item startswith Example

my_string = "Hello Python"

# Prefixes (Tuple)
prefixes = ("Javascript", "Php", "Hello")

# Checking if starts with
c = my_string.startswith(prefixes)

# Print Output
print(c)

Output:

True