Commit 7873830e by Patryk Czarnik

geometria - import from

parent 342e64ae
import geometria as g
from geometria import pole_prostokata, obwod_prostokata
bok1 = float(input('Podaj pierwszy bok prostokąta: '))
bok2 = float(input('Podaj drugi bok prostokąta: '))
pole = g.pole_prostokata(bok1, bok2)
obwod = g.obwod_prostokata(bok1, bok2)
pole = pole_prostokata(bok1, bok2)
obwod = obwod_prostokata(bok1, bok2)
print('pole:', pole, 'obwód:', obwod)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment