Paste Search Dynamic
Recent pastes
lst append res
  1. txt = input()
  2. lst = []
  3. for i in txt:
  4.         num = int(i)
  5.         res = num * (num + 1)
  6.         if(str(res) in txt):
  7.                 lst.append(res)
  8. print(lst)
Parsed in 0.001 seconds