daily pastebin goal
56%
SHARE
TWEET

rEaL pRoGrAmMeRs DoNt UsE lInE bReAkS

a guest Oct 11th, 2018 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def func(x,y):
  2.     return sum([i[0] * i[1] for i in list(zip([ord(s) - 48 for s in x], [10 **i for i in list(range(len([ord(s) - 48 for s in x])))[::-1]]))]) * sum([i[0] * i[1] for i in list(zip([ord(s) - 48 for s in y], [10 **i for i in list(range(len([ord(s) - 48 for s in y])))[::-1]]))])
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
 
Top