Advertisement
Guest User

Untitled

a guest
May 6th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. def getInput():
  2. fc = input("Whats your thing: ")
  3. if(len(fc) != 7):
  4. getInput()
  5. return(fc)
  6. def ImBetter():
  7. fcl, val = list(map(lambda x, y: x*y, list(map(int,getInput())), [3,1,3,1,3,1,3])), 0
  8. for i in fcl:
  9. val += i
  10. return(getInput()+str(((val+5)//10*10)-val))
  11. getInput()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement