Task 5 Write a Python program that will ask the user to enter two strings (s1, s2) as an input. Then create a mixed string with alternative characters from each string. Any leftover chars will be...




Must show it in Python:



Please show step by step with comments.



Please show it in simplest form.



Please don't use any functions




Please don't use any def func ()


Task 5<br>Write a Python program that will ask the user to enter two strings (s1, s2) as an input. Then create a mixed string with alternative characters from each<br>string. Any leftover chars will be appended at the end of the resulting string.<br>====== ======<br>====== =----<br>======= =====<br>======<br>Hint: For adding the leftover characters you may use string slicing.<br>====== =========:<br>=========:<br>============================<br>Example 1:<br>Input:<br>

Extracted text: Task 5 Write a Python program that will ask the user to enter two strings (s1, s2) as an input. Then create a mixed string with alternative characters from each string. Any leftover chars will be appended at the end of the resulting string. ====== ====== ====== =---- ======= ===== ====== Hint: For adding the leftover characters you may use string slicing. ====== =========: =========: ============================ Example 1: Input: "ABCD" "efgh" Output: AeBfCgDh ====== ==== Example 2: Input: "ABCDENDFGH" "ijkl" Output: AİBJCKDIENDFGH =====================================================================

Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here