Apr-10-2019, 10:12 PM
Create the following in python code:
- get
input_value
- create a for loop
input_value
times with variable namefirst
- create a empty string
out_str
- create a inner loop
input_value
times with variable namesecond
- if
second
equalsfirst
- add '\\' to
out_str
- add
second
toout_str
- add '\\' to
- output
out_str