daily pastebin goal
41%
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # a) Add parentheses to the following expression so that it evaluates to 1.
  2. print((5 - 3) // 2)        # 加入小括號讓運算為 1
  3.  
  4. # b) Add parentheses to the following expression so that it evaluates to 0.
  5. print(8 - 3 * 2 - (1 + 1)) # 加入小括號讓運算為 0
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top