How remove none | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
12th Jan 2023, 6:56 AM
ViShal Bhoi
ViShal Bhoi - avatar
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.
12th Jan 2023, 7:06 AM
Brian
Brian - avatar