Question: thatsOdd ( ) - Write the code that uses if . . . elif . . . else a user enters a number the program

thatsOdd()- Write the code that uses
if ... elif ... else
a user enters a number
the program determines if the user entered an odd number
prints the result of the test using a statement that explains the output
repeats 2 times
you may not need the elif
avg3()- Write a Python code (program) that:
asks the user to input the 3 numbers.
Calculates the average of the three numbers stored in the variables rock, paper, clip
prints out the variables and the total.
whileNot()- Code the following algorithm
Sentinel is your initials. For example, mine would be "mpf"
User enters strings until the sentinel string is entered
read the values entered (input) by user
while input string is not the sentinel:
concatenate the input string
store the new string in the variable newString/nitial_of_last_name
for example, I would use: NewStringF
read the next input
print the final string
print the final string twice on the same line using a string operator (remember we listed these on the board)
 thatsOdd()- Write the code that uses if ... elif ... else

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!