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,22 @@
#!/home/andrei/it_school/bin/python3
def functie_test():
print("Aceasta este o functie de test")
def functie_nume(nume):
print("Numele meu este:", nume)
def adunare(a, b):
return a + b
# creeaza o functie care primeste ca parametrii o lista si vrem sa afiseze fiecare element din lista pe o linine noua
def afisare_lista(lista):
for element in lista:
print(element)
functie_test()
functie_nume("Andrei")
print("Suma este:", adunare(5, 7))
lista_de_test = [100, 200, 300, 400]
afisare_lista(lista_de_test)