I have a problem..please help
Brett Cannon
bac at OCF.Berkeley.EDU
Wed Sep 19 18:39:18 EDT 2001
More information about the Python-list mailing list
Wed Sep 19 18:39:18 EDT 2001
- Previous message (by thread): peek poke for win32
- Next message (by thread): I have a problem..please help
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I just typed both lines in IDLE and I get 70 returned (which is what the interpreter should spit back and no 70 like you said). Can you clarify a little bit more about what the problem is? If you just want the result of the equation printed out just do: print hp - 30 If you meant something else, please clarify. -Brett C. On 19 Sep 2001, Patio87 wrote: > Im trying to make a game and was wondering if someone could help me > I have a couple of lines of code that will only work in interactive mode. > here is: > > hp = 100 > hp - 30 > > > and just a simple couple lines is what is confusing me. It spits out 30 in > interactive mode but when i run it in ide it just gives me a prompt > please help me, pAT >
- Previous message (by thread): peek poke for win32
- Next message (by thread): I have a problem..please help
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list