Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.15 KB | None | 0 0
  1. import math
  2. def trojkat(a):
  3.     pole = (a**2 * math.sqrt(3)) / 4
  4.     print('Pole trójkąta równobocznego wynosi: ' + repr(pole))
  5.    
  6. trojkat(2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement