Question: Q - 1 Write a Python program that takes a string keyword from user input. Then print the keyword with all repeated letters replaced by
Q Write a Python program that takes a string keyword from user input. Then print the keyword with all repeated letters replaced by
Note: Do NOT use the replace method for this question, you will not receive any credit if you do
Example :
Program Prompt: Enter a keyword:
User response: 'settle'
Program prints: 'set
Example :
Program Prompt: Enter a keyword:
User response: 'printing'
Program prints: 'printg
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
