# 9. Write a Python program to remove the nth index character from a nonempty string. 


string = 'zeszyty'
usuwanie = string.rstrip (string [-1])
print (usuwanie)


string2 = 'okładka'
usuwanie2 = string2.lstrip (string2 [0])
print (usuwanie2)


string3 = 'lampa'
usuwanie3 = string3.replace(string3[3],"")
print (usuwanie3)

