hi there, I'm just beginning my first steps in programming
I encountered something funny when I ran the program that follows:
---------------------------------------------------------------------------------------------------------
#here is something extremely important. First the statements
def imprimdeux(x):
print x + x
imprimdeux("x")
# output va être x x
# si on fait imprimdeux('zaille' ou "zaille"), l'imput va être zaille zaille
-----------------------------------------------------------------------------------------------------------
the program works as "intended" (don't know if that thing can be called a program ) but I receive the following message in my ouput :
"sys:1: DeprecationWarning: Non-ASCII character '\xc3' in file funcpam.py on line 16, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details"
I thought comments were not supposed to be interpreted by the computer so I wonder what's going on...
Can someone shed some light on this great mystery...?
Bookmarks