Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

%s in python


#Python2
name = raw_input("who are you? ")
print "hello %s" % (name,)

#Python3+
name = input("who are you? ")
print("hello %s" % (name,))

Source by devarama.com #
 
PREVIOUS NEXT
Tagged: #python
ADD COMMENT
Topic
Name
4+5 =