Solution :
PFB the solution for your problem
Method 1: Using parenthesis
if (number > 5 and
number < 15):
print "1"
Method 2: Using backslash
if number > 5 and \
number < 15:
print "1"
Method 3: Using backslash + indent for better readability
if number > 5 and \
number < 15:
print "1"