Ask your own question, for FREE!
Computer Science 7 Online
OpenStudy (anonymous):

In Python, how can I return a string in a function, except with a new line added to it? I.e. string = 'bat' Returns 'bat' + new line

OpenStudy (anonymous):

'bat\n'

OpenStudy (anonymous):

or return 'bat' + '\n'

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!