Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to print in python

Python:

#Variables
action = 'vote a like'
goodbyeMessage = 'Goodbye!'

#Prints:
print('Welcome to a game!')
print('Do not forget to ', action + ', alright?')
print(str(goodbyeMessage))

JavaScript:

'Variables:'
var a = 'Hello again!'
var b = '!'

'Prints(logs):'
console.log('Hi!')
console.log(a)
console.log('Hello' + b)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #print #python
ADD COMMENT
Topic
Name
1+1 =