Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

swap two lists without using third variable python

list1=["Hi how are you"]
list2=["Iam fine"]
list1,list2=list2,list1
Source by www.kite.com #
 
PREVIOUS NEXT
Tagged: #swap #lists #variable #python
ADD COMMENT
Topic
Name
1+1 =