Skip to content

Commit

Permalink
print statement 'Replaced Car with Boat'
Browse files Browse the repository at this point in the history
  • Loading branch information
bISHAL-2001 authored Jun 9, 2021
1 parent 601661b commit d5e254a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def __new__(cls, max_speed,unit):
class Boat:

def __new__(cls,max_speed):
return "Car with the maximum speed of {0} knots".format(max_speed)
return "Boat with the maximum speed of {0} knots".format(max_speed)


if __name__ == '__main__':
Expand Down

1 comment on commit d5e254a

@luxuriousdevil
Copy link

@luxuriousdevil luxuriousdevil commented on d5e254a Oct 21, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line 16 must be commented

return "Car with the maximum speed of {0} knots".format(max_speed)

this one !

Please sign in to comment.