Question: PYTHON Write a program that inputs a number between 3 and 21 and prints out the letter A as shown below. Print an error message

PYTHON

Write a program that inputs a number between 3 and 21 and prints out the letter A as shown below. Print an error message and stop if an incorrect number is entered. If they enter an even number in the correct range, increase the number to the next odd number and print the A.

PYTHON Write a program that inputs a number between 3 and 21

Enter an odd number between 3 and 21: -4 Error: n must be >= 3, not -4 *** Running alpha.py with 5 *** Program to print out the letter 'A' in various sizes. You will enter an odd number between 3 and 21 3 Written by John Koch. Enter an odd number between 3 and 21: 5 5 For n = 5 The program should be stored in alpha.py

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!