1

Jul 24, 2015

Python Tutorial : Concatenate and Print

Here is the tutorial for using print command and how we can concatenate the string with variables.

favorite_vegetable = "asparagus"
favorite_entree = "noodles"

print("My favorites are " + favorite_vegetable + " and " + favorite_entree)

No comments:

Post a Comment

Related Post

Related Posts Plugin for WordPress, Blogger...