Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- result = []
- for i in menu:
- result.append(i._replace(price=i.price+i.price*(int(num)/100)))
- return result
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement