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?
>>7 shitCase, lower_with_underscore, CameCase, Camel_Case_With_Underscore, Haxmy_aNusC_Ase.
They all suck in some way. You can type lowercase-with-hyphen without hitting the shift key. But the best is still Algol 68[1], which allows spaces in the identifiers[2] without |this, like you would in lisp.|
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