Question: Write a program named that: (For python) uses the variable name to represent a person's full name; includes some white space characters ( t and/or
Write a program named that: (For python)
- uses the variable name to represent a person's full name;
- includes some white space characters (\t and/or ) at the beginning, middle, and end of the name, using each character combination at least once;
- prints the name once with the white space displayed;
- prints the name using the following line: print (name.strip())
- prints the name using the following line: print (name.lstrip())
- prints the name using the following line: print (name.rstrip())
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
