Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # a) Add parentheses to the following expression so that it evaluates to 1.
- print((5 - 3) // 2) # 加入小括號讓運算為 1
- # b) Add parentheses to the following expression so that it evaluates to 0.
- print(8 - 3 * 2 - (1 + 1)) # 加入小括號讓運算為 0
Add Comment
Please, Sign In to add comment