You can divide the strings up and put each of them in a line of its own -
review = raw_input('If the secret number is too high enter h'
', if the secret number is too low enter l'
'and if it is correct enter c: ')
Example/Demo -
>>> review = raw_input('If the secret number is too high enter h'
... ', if the secret number is too low enter l'
... 'and if it is correct enter c: ')
If the secret number is too high enter h, if the secret number is too low enter land if it is correct enter c: h
>>> review
'h'
To print out on multiple lines, create multiline string, using """
or '''
(three quotes) -
s = '''If the secret number is too high enter h
, if the secret number is too low enter l
and if it is correct enter c: '''
review = raw_input(s)
Example/Demo -
>>> s = '''If the secret number is too high enter h
... , if the secret number is too low enter l
... and if it is correct enter c: '''
>>>
>>> review = raw_input(s)
If the secret number is too high enter h
, if the secret number is too low enter l
and if it is correct enter c: c
>>> review
'c'
I used a separate string just for readability, but you can directly give raw_input()
a multiline string, without having to store it in any variable.