My library > I&C SCI 31: Introduction to Programming home > 3.6: Function basics CHALLENGE ACTIVITY 3.6.2: Basic function call. Define print_shape() to print the below shape. Example output: *** *** *** 1 2 print_shape()
Added by Vicenta G.
Close
Step 1
Each row will have a different number of asterisks. Show more…
Show all steps
Your feedback will help us improve your experience
Hannah Wilds and 89 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
My library > IT 140: Introduction to Scripting v3 home > 5.1: Function basics CHALLENGE ACTIVITY 5.1.2: Basic function call. Define print_shape() to print the below shape. Example output: *** *** *** print_shape("***") print_shape() print_shape() print print_shape()
Shelayah R.
Write a Python program containing exactly one print statement that produces the following output: A B C D E F
Willis J.
Write a program to print a diamond made up of left- and right-aligned right-angled isosceles triangles, all of positive integer height specified by the user's keyboard input (a positive integer), as follows: Enter triangle height: 6 ************ ***** ***** **** **** *** *** ** ** * * ** ** *** *** **** **** ***** ***** ************
William M.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Watch the video solution with this free unlock.
EMAIL
PASSWORD