Python lessons
This commit is contained in:
7
Python_module_1/python_006.py
Normal file
7
Python_module_1/python_006.py
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/home/andrei/it_school/bin/python3
|
||||
|
||||
x = int(input("Introduceti o varsta: "))
|
||||
if ((x >= 0) and (x <= 18)):
|
||||
print("Nu poti vota.")
|
||||
else:
|
||||
print("Poti vota.")
|
||||
Reference in New Issue
Block a user