#!/usr/bin/env python3

str = 'Python for Data Science, Big Data and Economics'

# startswith  checa se a string inicia com
print(str.startswith('Py'))
print(str.startswith('P'))
print(str.startswith('Python'))

# endswith, checa se a string termina com
print(str.endswith('Economics'))
print(str.endswith('mics'))
print(str.endswith('s'))
