Python Basics - Hsanokklis/2023-2024-Tech-journal GitHub Wiki

Expression:

  • the most basic kind of programming instruction
  • Consist of values (such as 2) and operators (such as +)
  • Always evaluate down to a single value
  • a value that evaulates to itself is considered an expression ie 2 >>> 2

image

image

Precedence or Order of Operations

  • Order is ---> **, *,/,//,%,+,- and () trumps all