Difference between revisions of "Python"

From vret
Jump to: navigation, search
 
(= =+ VS +=)
Line 5: Line 5:
 
== Problems ==
 
== Problems ==
  
=== =+ VS += ==
+
=== =+ VS += ===
 
counter += 1 isn't equal to counter =+ 1 both scripts will run with out a error but one will add 1 to the counter and the other will set the counter too 1. I haven't got counter++ working.
 
counter += 1 isn't equal to counter =+ 1 both scripts will run with out a error but one will add 1 to the counter and the other will set the counter too 1. I haven't got counter++ working.

Revision as of 09:19, 11 June 2009

Download

Tutorials

Problems

=+ VS +=

counter += 1 isn't equal to counter =+ 1 both scripts will run with out a error but one will add 1 to the counter and the other will set the counter too 1. I haven't got counter++ working.