# Section 2.3 snippets


# Multiplication (*)
7 * 4

# Exponentiation (**)
2 ** 10

9 ** (1 / 2)

# True Division (/) vs. Floor Division (//)
7 / 4

7 // 4

3 // 5

14 // 7

-13 / 4

-13 // 4

# Exceptions and Tracebacks
123 / 0

z + 7

# Remainder Operator
17 % 5

7.5 % 3.5

# Straight-Line Form

# Grouping Expressions with Parentheses
10 * (5 + 3)

10 * 5 + 3

# Operator Precedence Rules

# Operator Grouping

# Redundant Parentheses

# Operand Types


##########################################################################
# (C) Copyright 2019 by Deitel & Associates, Inc. and                    #
# Pearson Education, Inc. All Rights Reserved.                           #
#                                                                        #
# DISCLAIMER: The authors and publisher of this book have used their     #
# best efforts in preparing the book. These efforts include the          #
# development, research, and testing of the theories and programs        #
# to determine their effectiveness. The authors and publisher make       #
# no warranty of any kind, expressed or implied, with regard to these    #
# programs or to the documentation contained in these books. The authors #
# and publisher shall not be liable in any event for incidental or       #
# consequential damages in connection with, or arising out of, the       #
# furnishing, performance, or use of these programs.                     #
##########################################################################
