Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

python only Q Search or enter website name 0? PA8 ICS 140-01 Computatio... Reading 4-ICS 140-01C What Is The Regression E Goal: To learn to

image text in transcribedpython only

Q Search or enter website name 0? PA8 ICS 140-01 Computatio... Reading 4-ICS 140-01C What Is The Regression E Goal: To learn to write Python code using nested for loops. Write Python code that uses nested for loops appropriately to draw the following pattern. The space between the two asterisks starts at 0 and increases by 2 columns with each row. The space from the left margin to the first asterisk starts at 8 in the first row and decreases by 1 column with each row Do not use the repetition operator on strings in any manner (for example, to get the spaces between the two *s) Store the number of rows in a variable (in upper-case letters), so simply by changing this value, it is possible to change the size of the shape There is no credit for writing a program that uses a sequence of 9 print statements to force each line. Grading Criteria 1. The code begins with the students name as a comment (2 point) 2. Meaningful comments (input, functionality, and output) appear before the first executable statement (2 point) The number of rows in a variable (in upper-case letters) (2 points), and utilized properly so simply by changing this value, it is possible to change the size of the shape (4 points) 3. 4. The nested for loop and associated code are properly structured (8 points). 5. The output is correct (6 points) 6. The program does not ask for or display anything not called for by the specifications or the sample interactions (2 points)

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

Database Marketing The New Profit Frontier

Authors: Ed Burnett

1st Edition

0964535629, 978-0964535626

More Books

Students also viewed these Databases questions

Question

1 . Television News channels importantance of our Life pattern ?

Answered: 1 week ago

Question

1. How is the newspaper help to our daily life?

Answered: 1 week ago

Question

1. Prepare a short profile of Mikhail Zoshchenko ?

Answered: 1 week ago

Question

What is psychology disorder?

Answered: 1 week ago