## Help file for DIC14b Python Programming: print 
## SXD 908

print(1+1) # line comment: print requires parenthesis
print("1+1 =",1+1,'1+2 =',1+2) # print admits any number of arguments

'''
This is a long comment. You will have noticed that strings can be delimited
by double or single quotes. In case a double quote should be part of a string,
use single quotes, or the other way around.
'''
print('"It is in the afternoon", he mused.')
print("'No! Class is in the morning!', she said, with a smile.")

#print accepts escape characters.
print('It\'s too late!\nNo, it\'s not!')

'''
Remark: at the shell an expression like 1+1 is computed and the value is displayed.
In a script, you have to declare print(1+1) to see the result.
'''