Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a Python program that asks the user for a text and separator as input. The program should then print the entered text in the
Write a Python program that asks the user for a text and separator as input. The program should then print the entered text in the form of a triangle as shown below. All spaces in input text should be ignored and the triangle should be displayed using upper case characters. The separator is used to separate each character of the input string.
2.2 Question Programming task: Write a Python program that asks the user for a text and separator as input. The program should then print the entered text in the form of a triangle as shown below. All spaces in input text should be ignored and the triangle should be displayed using upper case characters. The "separator" is used to separate each character of the input string. Example: Enter Text: like this User input Enter separator: L--I--K--E--T--H--I--S I--K--E--T--H--I--S K--E--T--H--I--S E--T--H--I--S T--H--I--S H--I--S I--S SStep 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