language=['Python']
languages=['Python','C','C++','Java','Perl']
print(language)
print(languages)
print(languages[0:3])
print(languages[1:4])
print(languages[2])
print(language[5])
print(language[0]+" and"+languages[1]+" are quite different")
print("Accessing the last element of the list:"+languages[-1])