Question: Write a program to change a string to the specified format as below: input: Welcome to the Python class output: Welcome-to-the-Python-class Hint: use string split
Write a program to change a string to the specified format as below: input: "Welcome to the Python class" output: "Welcome-to-the-Python-class" Hint: use string split and join functions
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
