Solution:
list_student<-list("Javed",c("Tushar","harsh","mihir"),"anurag","anhishek")
print(list_student)
names(list_student)<-c("a","b","c","d")
print(list_student)
#ADDING ELEMENT at END
list_student[5]="amod"
print(list_student)
#remove 1st student
list_student[1]=NULL
print(list_student)
#update second last student
list_student[3]="Taha"
print(list_student)
0 Comments