A. Introduction

Declaring variables, taking input, calculating and printing out strings. We are familiar with this step by step sequential processing now. But what if you need to make decisions? For instance, based on a user's description, determine if a shape is a circle, a rectangle, a triangle, a parallelogram, or a trapezoid?

B. __Notes__

C. HW

Given an integer, print "odd" if it's odd and print "even" otherwise.

Given the two integers, print the least of them. Can you print the least of three numbers?

For the given integer X print 1 if it's positive; -1 if it's negative. Can you print 0 if it's equal to zero?

ermmm...

#Given an integer, print "odd" if it's odd and print "even" otherwise. #Given the two integers, print the least of them. Can you print the least of three numbers? #For the given integer X print 1 if it's positive; -1 if it's negative. Can you print 0 if it's equal to zero? IntegerInput = 5 if (IntegerInput%2 == 1): print("Odd\n") if (IntegerInput % 2 == 0): print("Even\n") FInteger = 7 SInteger = 3 TInteger = 2 if (TInteger < SInteger < FInteger): print(TInteger) if (SInteger < TInteger < FInteger): print(SInteger) if (FInteger < TInteger < SInteger): print(FInteger) GInteger = 8 if (GInteger > 0): print("\n1") if (GInteger < 0): print("\n-1")

I dont understand do i need to use percents ?

Percents just mean mod. You can use it to find out if a number is even or odd.