Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Car:
- def __init__(self, seats):
- self.seats = seats
- print(f'Car has {seats} seats')
- my_car = Car(5)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement