Question

Introduction This assignment lets you practice with writing a simple program to make some art. Directions...

Introduction

This assignment lets you practice with writing a simple program to make some art.

Directions

  1. Print a shape:
    1. Use multiple print statements to create an interesting shape. Your shape should be at least two lines, with each print statement printing exactly one line of the shape. Here is an example:

      print ("***")
      print (" **")
      print (" *")

      Do not use a multiline string, like what is below:

      print ("""\
      ***
      **
      *
      """)

      Be aware that there are some shapes that you might not be able to create easily. If something doesn’t work, then pick a different shape.
    2. Print a second copy of your shape below the first one. This shouldn’t be hard.
    3. Print two copies of your shape that are horizontally adjacent. This may take some experimentation.
0 0
Add a comment Improve this question Transcribed image text
Answer #1

keep which ever shape you wanted from the below two shapes

code:

print("shape 1")

print ("* * * * * *")

print (" * * * *")

print (" * *")

print ("* * * * * *")

print (" * * * *")

print (" * *")

print("shape 2")

print ("* * * * * *")

print (" * * * *")

print (" * *")

print (" * *")

print (" * * * *")

print ("* * * * * *")

Add a comment
Know the answer?
Add Answer to:
Introduction This assignment lets you practice with writing a simple program to make some art. Directions...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Please read the article and answer about questions. You and the Law Business and law are...

    Please read the article and answer about questions. You and the Law Business and law are inseparable. For B-Money, the two predictably merged when he was negotiat- ing a deal for his tracks. At other times, the merger is unpredictable, like when your business faces an unexpected auto accident, product recall, or government regulation change. In either type of situation, when business owners know the law, they can better protect themselves and sometimes even avoid the problems completely. This chapter...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT