Q. How are the statements Ist = += "xy" and Ist = Ist + "xy" different, where Ist is a list? Explain.
Answer =
Ist = += "xy" here is syntax error.
Ist = Ist + "xy" will give an error.
Because when used with lists, the + operator requires both the operands as list-types.
Nice
ReplyDeleteWelcome 😊😊😊
ReplyDeleteThanks dude, u are saving me from EXAMS
ReplyDeleteWelcome 😊😊😊
DeleteThanks you so much
ReplyDeleteWelcome : )
DeleteAs per our book Code 402 this question is wrong
ReplyDeleteTell me correct question.
DeletePost a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )