+1 vote
in Python by
Read the Following program:

class Std_Name:   

    def __init__(self, Std_firstName, Std_Phn, Std_lastName):  

        self.Std_firstName = Std_firstName  

        self. Std_PhnStd_Phn = Std_Phn  

        self. Std_lastNameStd_lastName = Std_lastName  

   

Std_firstName = "Wick"  

name = Std_Name(Std_firstName, 'F', "Bob")  

Std_firstName = "Ann"  

name.lastName = "Nick"  

print(name.Std_firstName, name.Std_lastName)  

What will be the output of this statement?

i) Ann Bob

ii) Ann Nick

iii) Wick Bob

iv) Wick Nick

Related questions

+1 vote
asked Jan 19, 2021 in Python by SakshiSharma
0 votes
asked Jan 19, 2021 in Python by SakshiSharma
...