[Tutor] While problem

2013-06-26 Thread Jack Little
I have a small problem with the while function.It prints an odd variable that has nothing to do with the function. It prints Squad One!. Here is my code for the 3 def's that have something to do with the while function. def tcombat():     c1am=10     c2am=10     enam=Qasi     ehealth=15    

Re: [Tutor] While problem

2013-06-26 Thread Dave Angel
On 06/26/2013 08:32 PM, Jack Little wrote: I have a small problem with the while function.It prints an odd variable What variable is that? that has nothing to do with the function. It prints Squad One!. Here is my code for the 3 def's that have something to do with the while function.

Re: [Tutor] While problem

2013-06-26 Thread Steven D'Aprano
On 27/06/13 10:32, Jack Little wrote: I have a small problem with the while function.It prints an odd variable that has nothing to do with the function. It prints Squad One!. Here is my code for the 3 def's that have something to do with the while function. But you don't actually show us the