Replace
print(v1.show_vehical_details())
with
v1.show_vehical_details()
Since v1.show_vehical_details() does not return a value, the print statement has nothing to print.
12th Jan 2023, 7:06 AM
Brian
Vous avez souvent des questions comme celle-ci ?
Apprenez de maniĂšre plus efficace, gratuitement :