Changes

Jump to: navigation, search

OPS435 Python Lab 1

81 bytes added, 10:48, 18 July 2017
String Variables
:#Print the value to the screen:<source>
print(name)
</source>
:#Think about why this does something different:<source>
print('name')
</source>
:#Now lets try something new, we are going to print out the string and concatenate/combine it with another string. The plus sign can be used to join 2 strings together. However, make sure that your variable is always outside the quotes, or it will not resolve to a value.<source>

Navigation menu