Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def expression_matter(a, b, c):
- calc1 = [a * (b + c)]
- calc2 = [a * b * c]
- calc3 = [a + b * c]
- calc4 = [(a + b) * c]
- highest_so_far = [highest for highest in calc1 for highest in calc2 for highest in calc3 for highest in calc4]
- print(highest_so_far)
- expression_matter(1, 2, 3)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement