1. Hi am new to python and I have a few questions: Why if you want to write 
multiple comment you use triple quotation marks and not the #?
2. I found this code to be interesting to me because it printed an output of 
[1,2,3,4,5,6,7] and not [1,2,3,4:4,5,6,7] why is that?
Insert two or more elements to an existing list:1
2
3
4
>>> a= [1,2,3,4,7]>>> a[4:4] = [5,6]>>> print a[1,2,3,4,5,6,7]

S: Quora                                          
_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to