Advertisement
FelipeNeto2

Número especiais

Jul 25th, 2019
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.13 KB | None | 0 0
  1. cont = 1000
  2.  
  3. while cont<10000:
  4.   n1 = cont//100
  5.   n2 = cont%100
  6.  
  7.   if n1+n2==cont**(1/2):
  8.     print(cont)
  9.  
  10.   cont += 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement