a mnoho dalších součástí modulů
str.replace(old, new[, max])
'Beautiful is better than ugly.' "Explicit is better than implicit." \Simple is better than complex.\ Complex is better than complicated.). Odsazení na posledním řádku je znak tabulátoru.
food = 'pizza'
if food == 'pizza':
print('I like pizza')
food = 'pizza'
if food == 'pizza':
print('I like pizza')
else:
print('I want pizza!')
food = 'pizza'
if food == 'pizza':
print('I like pizza')
elif food == 'soup':
print('I like soup')
else:
print('I want pizza!'