Answered step by step
Verified Expert Solution
Question
1 Approved Answer
6.) Using what you learned in the previous question, write a function called text_triangle that takes an integer parameter and prints X's in a triangle
6.) Using what you learned in the previous question, write a function called text_triangle that takes an integer parameter and prints X's in a triangle shape. arguments. (The code exe in blue, the output produced is in green): text_triangle (3) xXX text_triangle (10) text triangle (0) There should be no spaces in front of each X. The last one is the tricky one! If the argument is 0, print one blank line. Make sure you print the correct amount of X's
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started