Advertisement
Guest User

Untitled

a guest
Oct 28th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. result = []
  2. for i in menu:
  3. result.append(i._replace(price=i.price+i.price*(int(num)/100)))
  4. return result
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement