@acwoss/

RedHiddenUpgrade

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class A():
    def __init__(self,a,b):
        self.a = a
        self.b = b

class B(A):
    def __init__(self, a, b, c):
        self.c = c
        super().__init__(a, b)

a = 10
b = 5
c = 8
teste = B(a,b,c)

print(teste.a, teste.b, teste.c)