def Zlst1():
lst1 = []
y=1
print "Zapolnenei spiska 1:"
while y==1:
x = input()
if x == "end":
y=0
else:
lst1.append(x)
Zapolnenei spiska 1:
Panasonic
Traceback (most recent call last):
File "C:\Users\Сергей\Documents\NetBeansProjects\spiski\src\spiski.py", line 15, in <module>
lst1 = Zlst1()
File "C:\Users\Сергей\Documents\NetBeansProjects\spiski\src\spiski.py", line 8, in Zlst1
x = input()
File "<string>", line 1, in <module>
NameError: name 'Panasonic' is not defined