Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please help me write this code in python for my class Due: Feb 24th by 5pm 20pts For this program you're going to create a

please help me write this code in python for my class
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
Due: Feb 24th by 5pm 20pts For this program you're going to create a pattern program where you ask the user to enter a number in, then it will print off various patterns depending on that number. See the example outputs for examples on how each pattern should look. Each pattern should be separated by a line of "-"s so that it's easier to discern where one pattern ends and another begins. You should be using loops to accomplish this along with print statements that do not automatically go to a new line. The patterns you need are as follows (with examples); Increasing slope Decreasing slope Botomeright Increasing siope All shown examples are with a user input of 5 . Recommendations: Avoid changing variables that you use across multiple patterns. Or if you do, have the code set the variable back to the original value before it moves onto the next pattern. Once you've completed one pattern, comment it out temporarily while you try to solve the next pattern. But don't forget to uncomment it out before you submit. Test each pattern with a few numbers to make sure the pattern is maintained. If there's a pattern that you couldn't get working, comment out the code related to that pattern so that it doesn't interfere (and more importantly, so that it doesn't crash your program). When you feel like you're finished, make sure to test it a few times with all patterns showing. Double check with the point distribution to make sure you haven't missed anything. Double check with the point distribution to make sure you haven't missed anything

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_2

Step: 3

blur-text-image_3

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

Intelligent Information And Database Systems Asian Conference Aciids 2012 Kaohsiung Taiwan March 19 21 2012 Proceedings Part 3 Lnai 7198

Authors: Jeng-Shyang Pan ,Shyi-Ming Chen ,Ngoc-Thanh Nguyen

2012th Edition

3642284922, 978-3642284922

More Books

Students also viewed these Databases questions