<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><br><br><div>> Date: Tue, 4 Jun 2013 00:53:04 -0700<br>> Subject: Re: Beginner question<br>> From: john_ladasky@sbcglobal.net<br>> To: python-list@python.org<br>> <br>> On Monday, June 3, 2013 11:46:03 PM UTC-7, Carlos Nepomuceno wrote:<br>> > That doesn't even works because input() is the same as eval(raw_input()). So you'll get a NameError exception.<br>> > <br>> > I think you know that. Perhaps you mean raw_input() instead of input().<br>> <br>> But the OP's code shows print() functions... which is not the habit of Python 2 programmers, even though it's legal code.  And the OP says s/he's a beginning programmer... so why start learning Python 2 in 2013?  Let me ask the OP, are you programming in Python 2 or Python 3?  <br>> <br>> If the answer is indeed Python 3: raw_input() has been banished from Python 3, in favor of plain-old input().<br><br>Didn't know that. Thanks!<br><br>> -- <br>> http://mail.python.org/mailman/listinfo/python-list<br></div>                                        </div></body>
</html>