Lecture 3

  • 2**3=8 (it means pow in Python)
  • x,y=y,x just change value of x and y
  • literal—10 variable—X statement— x=y expression— x*y
  • binary decimal hex
  • Negative numbers left most—sign bit
  • type() show the type of
  • 1000 0000 -> -1 1111 1111 -> -128