Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cont = 1000
- while cont<10000:
- n1 = cont//100
- n2 = cont%100
- if n1+n2==cont**(1/2):
- print(cont)
- cont += 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement