Can someone give and explanation of what is happening with the following:
a,b = 0,1 # this assigns a = 0 and b = 1
while b < 10:
... print b
... a, b = b, a+b
...
1
1
2
3
5
8
a=0
b=1
while b < 1000:
... print b
... a = b
... b = a+b
...
1
2
4
8
1
cheers
--
http://mail.python.org/mailman/listinfo/python-list
Are there any good resources to learn OO Python from?
--
http://mail.python.org/mailman/listinfo/python-list
I have coded in VB using modules and functions but never coded a complete
project in OO. I understand the theory of OO, it's more the syntax and Python
nuances that I need to be up to speed on.
On 10 Feb 2011, at 16:36, Dan Stromberg wrote:
> On Wed, Feb 9, 2011 at 1:50 PM, Paul
Thank you
--
http://mail.python.org/mailman/listinfo/python-list