Python 2 examples taken while learning SPSE
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

25 lines
345 B

#!/usr/bin/python
# -*- coding: utf-8 -*-
age = 4
if age == 4 :
print "go!"
else :
print ":>"
men = ['1', '2', '3']
for vvv in men:
print vvv
while True :
rawi = raw_input("something?")
print rawi
#while age > 2 :
# age = age + 1
# print "infinite" # thats how to broken pipe ( :
#print raw_input("something?")