R
Q. Study the following program:
1. class Std_Name: 2. def __init__(self, Std_firstName, Std_Phn, Std_lastName): 3. self.Std_firstName = Std_firstName 4. self. Std_PhnStd_Phn = Std_Phn 5. self. Std_lastNameStd_lastName = Std_lastName 6. 7. Std_firstName = “Wick” 8. name = Std_Name(Std_firstName, ‘F’, “Bob”) 9. Std_firstName = “Ann” 10. name.lastName = “Nick” 11. print(name.Std_firstName, name.Std_lastName)
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. What is the output of the following code?
Q. What is the output of the following code?
Q. What is the output of the following program?
Q. If the condition of the while loop is initially false, then the loop will execute ___
Q. Which of the following are ML methods?
Q. Amongst which of the following is / are needed to open an existing file?
Q. What is the output of the following code?
Q. Which of the following functions converts a “string” to “float” in Python?
Discusssion
Login to discuss.