update
Some checks failed
It_School_001/pipeline/head Something is wrong with the build of this commit

This commit is contained in:
Ionel Andrei Cataon
2026-02-05 10:40:53 +02:00
parent 2d3f686918
commit f082bec56b
13 changed files with 228 additions and 5 deletions

View File

@@ -0,0 +1,13 @@
#!/home/andrei/it_school/bin/python3
class Student:
def __init__(self, nume, varsta, nota):
self.nume = nume
self.varsta = varsta
self.nota = nota
def display_info(self):
print(f"Nume: {self.nume}, Varsta: {self.varsta}, Nota: {self.nota}")
student1 = Student("Andrei", 20, 9.5)
student1.display_info()