Question: Write a python program to get the string before the next line character from a user entered string without using split and loops method

Write a python program to get the string before the next line character from a user entered string without using split and loops method
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
