Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
251 B
1
Indexable
Never
list_data<-list(c("Red","Green","Black"),matrix(c(1,3,5,7,9,11),nrow=2),
                list("python","php","java"))
print("list:")
print(list_data)
print("remove the second element of the list:")
list_data[2]=NULL
print("New list:")
print(list_data)
Leave a Comment