Question: QUESTION #1 Write a program that asks the user to enter two words, change them to upper case, then prints them in alphabetical order Sample

QUESTION #1

Write a program that asks the user to enter two words, change them to upper case, then prints them in alphabetical order

Sample Run

First word: Zebra Second word: Cat CAT ZEBRA

QUESTION #2

Write a function named ilovepython that prints out I love Python three times. Then, call that function.

QUESTION #3

Write a function named print_sum that accepts three numbers as parameters and prints the sum.

Sample Run

Enter the 1st number: 11 Enter the 2nd number: 9 Enter the 3rd number: 8 The sum: 28

QUESTION #4

QUESTION #1 Write a program that asks the user to enter two

THIS IS A SIMPLE, HIGH SCHOOL COMPUTER SCIENCE COURSE IN PYTHON. PLEASE DON'T MAKE TOO COMPLICATED, THANK YOU!

Write a program that prompts the user to input a letter grade in either capital or lowercase. Your program should then output the correct number of the GPA. See the table below for possible inputs and expected outputs. Your program should define at least one function named GPAcalc' that is called from your main program. Note: If the input is anything other than "A" "B" "C", "D" or F", your program should output the string "Invalid". Input: Letter Grade Expected output: GPA value 4 2 0 Anything else Invalid Sample Runs Run 1 Enter your Letter Grade: a Your GPA score is: 4 Run 2 Enter your Letter Grade: A Your GPA score is: 4 Run 3 Enter your Letter Grade: C Your GPA SCOre is: 2 Run 4 Enter your Letter Grade: G Your GPA score is: Invalid

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!