Untitled
Anonymous
plain_text
04/19/2024 3:05 AM
312 B
13
Indexable
list1 = list(g1 = 1:10, g2 = "R Programming", g3 = "HTML")
print("Original list:")
print(list1)
names(list1) = c("one", "two", "three")
print("Assign new names 'one', 'two' and 'three' to the elements of the said list")
print(list1)
Editor is loading...
Leave a Comment