I have a problem..please help

Ignacio Vazquez-Abrams ignacio at openservices.net
Thu Sep 20 00:20:57 CEST 2001


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

Interactive mode works differently from running the program. You have to print
out the value when running the program.

-- 
Ignacio Vazquez-Abrams  <ignacio at openservices.net>





More information about the Python-list mailing list