Question: 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
Get step-by-step solutions from verified subject matter experts
