New course! Every coder should learn Generative AI!
Try a free lesson0
How remove none
1 Answer
+ 1
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.