class FirstClass: n = 4 def __init__(self, n): n = n//4 a = FirstClass(8) print(a.n)
Impara in modo più efficiente, gratuitamente:
Introduzione a Python
7,1M studenti
Introduzione a Java
4,7M studenti
Introduzione a C
1,5M studenti
Introduzione a HTML
7,5M studenti