Untitled

mail@pastecode.io avatar
unknown
plain_text
3 years ago
374 B
6
Indexable
Never
person1 = ["Ricky", 44, "man"]
person2 = ["Jessica", 23, "femeniminist"]
person3 = ["Harry", 11, "child star"]
guestList1 = [
                ["Ricky", 44, "man"],
                ["Jessica", 23, "femeniminist"],
                ["Harry", 11, "child star"]
            ]
print(guestList1) 
guestList1.append(["virginia", 1000, "vampire"])
print(guestList1) 
guestList1[0, 2]