In Python, you don't actually need concatenation (the + operation) to combine strings. Literal strings on adjacent lines will be inherently concatenated:
initialHour = 4
initialMinute = int(input('In the initial hour of '
'{0}:00, enter the minute of arrival: '
.format(initialHour)))
This is actually a little more efficient than using the + operation, because the operation will be done at "compile time" rather than "runtime." Not that performance is the key issue here.
But string concatenation like this has some reasonably precise (read: nitsy and annoying) rules. It can help to know that you can use parentheses to make this kind of "implicit concatenation" more reliable. And that can help you format your code for more simplicity and readability. For instance:
initialHour = 4
question = ('In the initial hour of '
'{0}:00, enter the minute of arrival: '
).format(initialHour)
initialMinute = int(input(question))
Without the parentheses, your string concatenation would likely run afoul of Python's source code indenting rules. But the parentheses signal "we're not done yet! keep waiting." Putting the closing parenthesis on the line with the format
method helps connect the format method to the now-combined string.
If you're at wits end, you can also end lines with backslash characters (\) to signal "the line continues!" This can get messy and has its own set of gotchas, but can help in a pinch.
You probably don't need this quite yet, but if you can install external modules, my textdata module is aimed at solving just this type of problem. With it, instead of worrying about the details of string concatenation, you'd drop your text into a multi-line string and have the module figure out the details. E.g.:
from textdata import *
question = textline("""
In the initial hour of
{0}:00, enter the minute of arrival:
""")
question would then be:
'In the initial hour of {0}:00, enter the minute of arrival:'
For this one string, it's overkill. But if you include a lot of text in your programs--especially involved, indented text like HTML, XML, or SQL--it makes things easier.