Advertisement
Guest User

Untitled

a guest
Jun 28th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. a = input('Chin Max: ')
  2. b = input('Deadlift Max: ')
  3. c = input('Bench Max: ')
  4.  
  5. coefficients =([.65, .7, .75,.4],[.75, .8, .85, .5],[.85, .9, .95, .6])
  6.  
  7. combo = zip(("Chinups","Deadlift","Bench Press"),(a,b,c),coefficients)
  8.  
  9. work = {}
  10. for name, startvalue, multiplier in combo:
  11. work[name] = map(float(startvalue).__mul__, multiplier)
  12.  
  13. for week in xrange(1,5):
  14. print "Week %i:" % week
  15. for workout in work.keys():
  16. print " %s: %i" % (workout, work[workout][week - 1])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement