SHARE
TWEET

Untitled

ZephireNZ Nov 26th, 2012 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. reqlevel = input("Enter level: ")
  2. if(reqlevel<=16):
  3.         reqxp = reqlevel * 17
  4.         print(reqxp)
  5. else:
  6.         if (reqlevel<=30):
  7.                 reqxp = 272
  8.                 addto = 20
  9.                 for i in range(0,(reqlevel - 16)):
  10.                         reqxp = reqxp + addto
  11.                         addto = addto + 3
  12.                 print(reqxp)
  13.         else:
  14.                 reqxp = 272
  15.                 addto = 20
  16.                 for i in range(0,14):
  17.                         reqxp = reqxp + addto
  18.                         addto = addto + 3
  19.                 for i in range(0,(reqlevel - 30)):
  20.                         reqxp = reqxp + addto
  21.                         addto = addto + 7
  22.                 print(reqxp)
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