This website works better with JavaScript
Sākums
Izpētīt
Palīdzība
Reģistrēties
Pierakstīties
Julia
/
geometric_lib
Vērot
1
Pievienot zvaigznīti
0
Atdalīts
0
Faili
Problēmas
0
Izmaiņu pieprasījumi
0
Vikivietne
Atzars:
main
Atzari
Tagi
develop
feature
main
release
geometric_lib
/
circle.py
circle.py
102 B
Patstāvīgā saite
Vēsture
Neapstrādāts
1
2
3
4
5
6
7
8
9
10
import math
def area(r):
return math.pi * r * r
def perimeter(r):
return 2 * math.pi * r