Python

6 flashcards · Programming Languages · by Ahmed Adil

  1. Operations floored quotient

    22 // 8 Use division operator twice

  2. Operations exponents

    22 ** 3 Multiplication operator twice

  3. Expressions concatenate strings

    'Alice' + 'Bob' > AliceBob Use the + operator

  4. Functions A value that is passed to a function

    argument

  5. Boolean Operators Boolean operators order of operations

    not and or

  6. Loops What happens when continue statement is introduced inside while loop

    When the program execution reaches a continue statement, the program execution immediately jumps back to the start of the loop and reevaluates the loop’s condition.