Question: 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.

Write a Python program that asks the user for a text and

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 S

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To achieve this task you can write a Python program as follows python def printtriangletext separato... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!