Computer Science, asked by swaravichare06, 4 months ago

This function is
1 point
used to remove all the blank
spaces except single blank
spaces between two words.
O Proper()
O Trim()
O Fixed ()
! O Len()​

Answers

Answered by riyaatschool
0

Answer:

trim()

Explanation:

please mark brainliest

Answered by neetasalve123
0

Answer:

Input:

str = " Hello Geeks . Welcome to GeeksforGeeks . ";

Output:

"Hello Geeks. Welcome to GeeksforGeeks."

Input:

str = "GeeksforGeeks";

Output:

"GeeksforGeeks"

(No change is needed)

This problem is an extension of Remove spaces from a given string

Recommended: Please try your approach on {IDE} first, before moving on to the solution.

Similar questions