Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You should have read about the basics of functions in the reading. In this prep, you will be tasked with writing two, very simple functions.

image text in transcribed

You should have read about the basics of functions in the reading. In this prep, you will be tasked with writing two, very simple functions. These should be void functions, that do not accept and parameters or have a return value. The first function should be named triangle and should print out exactly this: The second function should be named rectangle and should print out exactly this: +--+ +--+ You may call the functions in your code in order to test. However, you should remove all calls to the function before you submit to gradescope. The gradescope tests will call the functions to test them. Name the program prep11.py. Make sure that gradescope gives you the points for passing the test case

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

Students also viewed these Databases questions

Question

What are the role of supervisors ?

Answered: 1 week ago