Question: Python: I am trying to write a code with a for loop that takes user input for a string and a number of strings and
Python:
I am trying to write a code with a for loop that takes user input for a string and a number of strings and then splits in into equal parts.
So
String?: Thisscool
# strings?: 3
Output: 'Thi' 'ssc' 'ool'
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
