Python 2.7.6 help with modules
Scott W Dunning
swdunning at cox.net
Sat Feb 8 01:27:12 EST 2014
>
> On Feb 7, 2014, at 10:10 PM, Chris Angelico <rosuav at gmail.com> wrote:
>>
>> number = int(raw_input("Enter a five-digit number: "))
>>
>> Now we begin to split it up:
>>
>> foo = number % 10
>> bar = number / 10
>>
Ok, so it this what you’re talking about?
number = int(raw_input(“Enter a five digit number:))
foo = number % 10
bar = number / 10
digit = foo / 10
rem = bar % 10
????
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20140207/21c9d27c/attachment.html>
More information about the Python-list
mailing list