a python program to create class car with two attributes name & cost. With two objects and display information. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

a python program to create class car with two attributes name & cost. With two objects and display information.

I stuck with this question

8th Apr 2020, 6:21 AM
Nishu Malik
Nishu Malik - avatar
3 Answers
+ 2
Answer
5th Jul 2022, 6:28 PM
Jay Shetty
Jay Shetty - avatar
0
Write a python program to create class car with two attributes name and cost creat two object and display information?
12th Jun 2023, 2:25 PM
Siddharth Pawar
Siddharth Pawar - avatar
- 2
Hi, do it step by step first create the class. you can?
8th Apr 2020, 6:25 AM
Oma Falk
Oma Falk - avatar