Zad 1.
from random import randrange
def losowe_liczby():
lista_1 = []
for i in range(0,10):
a = randrange(3,34)
lista_1.append(a)
print(a)
print("Min:",min(lista_1))
print("Max:",max(lista_1))
print("Avg:",float(sum(lista_1)/10))
losowe_liczby()
Zad 2.
import struct
a = float(input("Podaj liczbe: "))
binarna = bin(struct.unpack('!i',struct.pack('!f',a))[0])
print(binarna[2:])