# %%
##
filename = 'view.jpg'
print(filename[5:])

# %%
##
string = 'PKV-89415-PLN'
print(string[:3] + string[10:])

# %%
##
string = '1 0 0 1 0 1'
val = string[::2]
print(f'Znaleziona liczba: {int(val, 2)}')

# %%
##
text = 'Kurs Python'
print(text[::-1])
