Demo entry 6655657

Python

   

Submitted by anonymous on Oct 27, 2017 at 09:32
Language: Python 3. Code size: 204 Bytes.

# Obwód i pole okręgu

import math

# Można także
# from math import pi

r = int(input("Podaj długość promienia r "))

print("Obwód wynosi:",2*math.pi*r)
print("Pole koła wynosi:",math.pi*r*r)

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).