-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathAuto.py
More file actions
37 lines (29 loc) · 703 Bytes
/
Auto.py
File metadata and controls
37 lines (29 loc) · 703 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# -*- coding: utf-8 -*-
"""
Created on Mon Jan 24 11:54:12 2022
@author: Administrator
"""
class Kniha:
ISBN = str() # ""
nazov = str()
autor = str()
pocet_stran = int() # 0
zaner = list() # []
print(Kniha)
print(type(Kniha))
print(Kniha())
print(type(Kniha()))
# class Auto:
# znacka = str()
# model = ()
# VIN = ()
# palivo = list()
# def vypis_info(self):
# print("VIN -->", self.VIN)
# print("znacka -->", self.znacka)
# print("model -->", self.model)
# Embecka = Auto()
# Embecka.nazov = "Skoda"
# Embecka.model = "Oktavia"
# Embecka.VIN = 6466326574
# Embecka.vypis_info()