#!/usr/bin/env python3


str = "Python for Data Science"

# membership operators in / not in
# retornam True ou False
print('a' in str)
print('z' in str)
print('python' in str) # False
print('python' not in str) # True
print('Science' in str)


# len() retorna o cumprimento (lengh) da string
print(len(str))
print(len('Onomatopéia'))

# indice = 0
# while indice < len(str):
#     letra = str[indice]
#     print(indice + 1, letra)
#     indice += 1
#
# for x, y in enumerate(str):
#     print(x + 1, y)
#
