Printing with Commas : Print : Introduction PYTHON TUTORIALS


PYTHON TUTORIALS » Introduction » Print »

 

Printing with Commas


print 'Age:', 42 
name = 'Gumby'
salutation = 'Mr.'
greeting = 'Hello,'
print greeting, salutation, name
print greeting, ',', salutation, name 
print greeting + ',', salutation, name



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo Introduction
» Print