Question: Link Class class Link: empty = 0 def _init_(self, first, rest=empty): assert rest is link. empty or isinstance(rest, Link) self.first = first self.rest = rest

Link Class class Link: empty = 0 def _init_(self, first, rest=empty): assert rest is link. empty or isinstance(rest, Link) self.first = first self.rest = rest def _repr_(self): 1f self.rest: rest_str = + repr(self.rest) else: rest_str = return 'Link(CO) (1)).format(repr(self first), rest_str) def _str_(self): string = ' 1 point >>>print(Link(1. Link(2)))* You just loaded the above Link class into your interpreter and ran the line of code above. What would python display? Special cases: type "Error" (no quotes) if it Errors and "Nothing (no quotes) if it doesn't display anything Your answer 1 point >>> Link(1, Link(2))* You just loaded the above Link class into your interpreter and ran the line of code above. What would python display? Special cases: type "Error" (no quotes) if it Errors and "Nothing" (no quotes) if it doesn't display anything Your answer 1 point >>> Link(1.2) * You just loaded the above Link class into your interpreter and ran the line of code above. What would python display? Special cases: type "Error" (no quotes) if it Errors and "Nothing" (no quotes) if it doesn't display anything Your answer 1 point >>>print(Link(1.2)) You just loaded the above Link class into your interpreter and ran the line of code above. What would python display? Special cases: type "Error" (no quotes) if it Errors and "Nothing" (no quotes) if it doesn't display anything Your
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
