Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please do python challenge using replit.com All code submitted for the coding challenges must meet the following requirements. These are minimum requirements that must be

Please do python challenge using replit.com

All code submitted for the coding challenges must meet the following requirements. These are minimum requirements that must be met to earn any points. If your code fails to mean any one of these criteria you will earn a zero for the challenge. All code must run successfully in the standard class Python environment. If your code fails to run, your assignment earns a zero. You may use reference material to help write your code, but all code must be your original work. I have a zero-tolerance policy for plagiarized work and I report every case to the University for adjudication. Code is read more frequently than it is run, and good code has great comments. Your code must contain comments that describe what your code is doing. If you have NO comments in your code that attempt to do this your work will earn a zero. All code must be submitted through codepost unless the challenge instructions specifically state otherwise. Complete the coding challenges below. The following exercises should be completed using material covered in weeks 1-4 of the class. The material covered in class content is your primary resource but it is not the only resource. The readings and resources for this module will be necessary for some of your work.

Challenge 1 Name this script challenge-1.py and write a program that: Reads a number from the user. Displays a human-friendly message that: Displays the number the user entered, and Indicates whether the integer is even or odd.

Challenge 2 Name this script challenge-2.py. Write a program that reads a letter of the alphabet from the user. If the user enters a, e, i, o or u then your program will display a message indicating that the entered letter is a vowel. If the user enters the letter y then your program will display a message indicating that sometimes y is a vowel, and sometimes y is a consonant. Otherwise your program should display a message indicating that the letter is a consonant.

Challenge 3 Name this script challenge-3.py. The length of a month varies from 28 to 31 days. Write a program that does the following: Reads the name of a month from the user, and Displays the number of days in that month. You can assume that the user enters the full month name. Challenge 4 Name this script challenge-4.py. What is my grade? Write a program that prompts the user for a grade in percentage (e.g., 88.25%) and does the following: Tells them what their current letter grade is based on the course syllabus, Tells them how far they are from the next highest grade, or if its an A, tell them how far from a B they are. If they are doing well, display an appropriate message. If they are NOT doing well, display an encouraging message. For this challenge, use the grading scale from my syllabus and ignore +/- grades, i.e., you only have to account for A, B, C, D, and F grades.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning Microsoft SQL Server 2012 Programming

Authors: Paul Atkinson, Robert Vieira

1st Edition

1118102282, 9781118102282

More Books

Students also viewed these Databases questions

Question

How does the concept of hegemony relate to culture?

Answered: 1 week ago