Answered step by step
Verified Expert Solution
Link Copied!

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.

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Ages Of The Investor A Critical Look At Life Cycle Investing

Authors: William J Bernstein

1st Edition

1478227133, 978-1478227137

Students also viewed these Databases questions