Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Change Separator Value When Printing

>>> print("Lambda School", 2020, True, sep="!!!")
Lambda School!!!2020!!!True
>>> print("Lambda School", 2020, True, sep="	")
Lambda School   2020    True
>>> print("Lambda School", 2020, True, sep="
")
Lambda School
2020
True
>>> print("Lambda School", 2020, True, sep="")
Lambda School2020True
>>>
Source by learn.lambdaschool.com #
 
PREVIOUS NEXT
Tagged: #Change #Separator #Value #When #Printing
ADD COMMENT
Topic
Name
5+9 =