Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcję0
How remove none
1 Odpowiedź
+ 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.