

def zad1() :
    print("test")
    odl = int(input("Podaj odleglosc a do b w metrach: "))
    czas = int(input("Podaj czas podrozy w sek: "))

    v = odl / int(czas)

    print(v)
    print(f"PREDKOSC: {v}")

def zad2():
    wsp = 3.6
    ms = int(input("Podaj v (metry na sek): "))
    kmh = ms*wsp
    print(f"{ms} m/s to {kmh} km/h")




def zad3():
    a = int(input(f"podaj bok a:"))
    b = int(input(f"podaj bok b:"))

    import math
    c = math.sqrt( a*a + b*b)
    print(f"Przeciwprostokatna o bokach {a} i {b} to {c}")

lista = ["ziemnioki", "mleko", "platki", "talerz", "bulka", "miska"]
lista[3] = "lyzka"

lista.append("maslo")
lista.remove("maslo")

print(lista[0])
print(len(lista))
print( lista[ len(lista) - 1])

for i in range(len(lista)):
    print(f"{i+1}. {lista[i]}")


zad3()