there are many fundamental mistakes here
what is 3li ?
what is the two list means? when are trying to do something like this? 
whatever you are trying to do, have you checked the right syntax for it ?
But sir i cpoied these code from ypur ref notes.
Now i just google it and sort the problem. Thanks
Please share the link where you copied from.