9 lines
192 B
Python
9 lines
192 B
Python
#!/home/andrei/it_school/bin/python3
|
|
|
|
x = 0
|
|
while x < 10:
|
|
if x == 5:
|
|
print("Am ajuns la valoarea 5, iesim din bucla.")
|
|
break
|
|
print("Valoarea lui x este:", x)
|
|
x += 1 |