Actions

Difference between revisions of "Python values variables"

From ACL@NCU

(Created page with "==Define a string== <syntaxhighlight lang="python" style="border:3px solid black"> x = "Hello World!" </syntaxhighlight> ==Quotes== <syntaxhighlight lang="python" style="borde...")
(No difference)

Revision as of 05:42, 14 March 2018

Define a string

x = "Hello World!"

Quotes

y = "I like python!"
z = 'I like python!'
y_z = "I 'like' python!"

print y, z, y_z