String

What is the output of the following code?[A]class customer:
def__init__(self, id): self.id = str(id)id='2010'obj=customer(2567)print(obj.id)
what will be output of following code ? str1='helloworld'
str1[::-1]
What is the output of following Python program?
text='Python is high-level programming language'words=text.split()l=len(words)print('Number of words of the text:%d'% l)
What is the output of the following code?
def changement(str1): char = str1[0] str1 = str1.replace(char, '&') str1 = char + str1[1:] returnstr1 print(changement('this is the string'))