Advertisement
Guest User

Untitled

a guest
Apr 10th, 2020
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. r = 3
  2. h = 10
  3.  
  4. # racunanje povrsine valjka
  5. povrsina = 2 * r * 3.14 * h + 2 * (r * r * 3.14);
  6. zapremina = r * r * 3.14 * h
  7.  
  8. # ispis
  9. print(' povrsina valjka je: ', povrsina)
  10. print('zapremina valjka je: ', zapremina)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement