Και γιατί δεν ρίχνεις μία ματιά εδώ
http://forum.ubuntu-gr.org/viewforum.php?f=53 όπου λογικά θα έχει και λύση .

O/H kour aaaa έγραψε:
>  για σας παιδια !!!
> αποφασια να αρχισω python3 και ειχα το εξης προβληματακι
>
> #!/usr/bin/python
>
> # Filename: break.py
>  
> while True:
>     s = (input('Enter something : '))
>
>     if s == 'quit':
>         break
>     print('Length of the string is', len(s))
>
> print('Done')
> να και το μαθημα
> http://www.swaroopch.com/notes/Python_el:%CE%88%CE%BB%CE%B5%CE%B3%CF%87%CE%BF%CF%82_%CF%81%CE%BF%CE%AE%CF%82
>
> και το ερορ
>
>
> k...@kour-laptop:~$ python '/home/kour/Επιφάνεια εργασίας/kour.py' kour
> Enter something : kour
> Traceback (most recent call last):
>   File "/home/kour/Επιφάνεια εργασίας/kour.py", line 5, in <module>
>     s = (input('Enter something : '))
>   File "<string>", line 1, in <module>
> NameError: name 'kour' is not defined
> k...@kour-laptop:~$
>
> ευχαριστω!!!
>
>
>
-- 
Ubuntu-gr mailing list
[email protected]

If you do not want to receive any more messages from the ubuntu-gr mailing 
list, please follow this link and choose unsubscribe:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr

Απαντηση