'''Iteamlist=["soap","face wash","deodorants",56,59] print("0",end=" =") print(Iteamlist[0],end=" \n1=") print(Iteamlist[1],end=" \n2=") print(Iteamlist[2],end=" \n3=") print(Iteamlist[3],end=" \n4=") print(Iteamlist[4])''' numbers=[ 10 , 21 , 32 , 44 ] print (numbers) print (numbers[ 0 ]) print (numbers[ 1 ]) print (numbers[ 2 ]) print (numbers[ 3 ]) '''numbers.sort() numbers.reverse() print(numbers)'''
mystr= "satyam is doing b-tech in ECE" # In python index starts from 0 i.e. s is at 0 place ,a is at 1st place and soo on.. mystr1= "satyamisgoodboy" '''print(mystr) print(len(mystr)) # it print the length of mystr print(mystr[4]) # It only print the latter at 4th place print(mystr[2]) # It only print latter at 2nd place print(mystr[0:6]) # It print letter from 0th se 5th place print(mystr[10:30]) # It print letter from 10th to 29th place print(mystr[0:6:2]) # here :2 indicates that it print letter from 0th se 5th place with one gap print(mystr[0:6:3]) # here :3 indicates that it print letter from 0th se 5th place with two gap print(mystr[:5]) # here it assume that it start from 0 print(mystr[0:]) # here it assume that it ends at length of mystr print(myst...