Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

How to write variables in python

#How to print a variable the code below sets a variable to Hello, World!
variable = "Hello, World!"
#Use the print function to write out anything (the name variable after the print function is the name of the variable you want to print)
print(variable)
 
PREVIOUS NEXT
Tagged: #How #write #variables #python
ADD COMMENT
Topic
Name
2+8 =