Skip to content

Commit

Permalink
Merge pull request #1 from bISHAL-2001/patch-1
Browse files Browse the repository at this point in the history
modified print statement 'Replaced Car with Boat'
  • Loading branch information
deepdalsania authored Jun 13, 2021
2 parents 601661b + d5e254a commit 2240c49
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

0 comments on commit 2240c49

Please sign in to comment.