I'm a newbie scriptwriter and I was testing out my script using the interactive shell -i
.
This is part of my script:
shelp = "min shows the number of minutes\n\
sec shows the number of seconds\n\
min + [NUMBER] adds the number of minutes\n\
sec + [NUMBER] adds the number of seconds"
When I run shelp in interactive, it shows:
'min shows the number of minutes\nsec shows the number of seconds\nmin + [NUMBER] adds the number of minutes\nsec + [NUMBER] adds the number of seconds'
I'm not sure if this is what it is supposed to do but is there a way to remove the \n
while still be able to run my script in interactive?
Sorry if this is had already been answered or if I got my facts wrong