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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!