Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- r = 3
- h = 10
- # racunanje povrsine valjka
- povrsina = 2 * r * 3.14 * h + 2 * (r * r * 3.14);
- zapremina = r * r * 3.14 * h
- # ispis
- print(' povrsina valjka je: ', povrsina)
- print('zapremina valjka je: ', zapremina)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement