Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

python text adventure

Name: Anonymous 2011-03-06 22:37

ok, so im working on this text adventure, and i want it to be so that my script for being attacked will be able to used at any point. like function except i know thats wrong or i am doing somethign wrong. how do i define a script for future use in python? everytime i try it says some bullcrap about the variables not existing?

Name: Anonymous 2011-03-07 9:34

0]=> python
Python 3.2 (r32:88445, Feb 21 2011, 01:54:01)
[GCC 4.5.2 20110127 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> hax-my-anus = 2
  File "<stdin>", line 1
SyntaxError: can't assign to operator


0]=> racket
Welcome to Racket v5.1.0.3.
(define hax-my-anus 2)
hax-my-anus
2
(define |(hax, my) anus.| 3)
|(hax, my) anus.|
3

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List