SHARE
TWEET

Таблица на квадрати, кубови и корени

a guest Mar 21st, 2019 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # -*- coding: utf-8 -*-
  2. import math
  3.  
  4. if __name__ == "__main__":
  5.     m = eval(input())
  6.     n = eval(input())
  7.     x = eval(input())
  8.     # vasiot kod pisuvajte go tuka
  9.     tablica = {}
  10.     for i in range(n,m+1):
  11.         tablica[i]=(i**2,i**3,round(math.sqrt(i),5))
  12.     print(tablica[x])
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top