a guest Sep 20th, 2019 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. n = int(input("Введите число: "))
  2. if n < 0:
  3.     print ("Таких чисел нет ")
  4. else:
  5.     p = int(n**0.5)
  6.     for i in range (0, p+1):
  7.         k = i**2
  8.         print(k)
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