A. >>>language=list('PHP'); >>>language[1:]='ython'; >>>print(language) ['P','y','t','h','o','n']
B. >>>x=[2,3,0,4,1] >>>x.sort() >>>print(x) [0,1,2,3,4]
C. >>>print(list('Lifeisshort,youneedPython.').count('is')) 1
D. >>>words=['Life','is','short','you','need','Python'] >>>words.index('you') 4