There are two projects I am planning on making while learning Python.
So with that somewhere at the back of my mind I rush ever onwards into the vast world of Python!
Current progress:
Anyway, it looks like I've got a few good things down for the text based rpg thing...
I'll be learning more soon, so yeah... Come back and check my progress.
(If this is the wrong place to post this sorta thing, feel free to move it :thumb: )
- A short text based rpg sorta thing
- A working version of the Risk game
So with that somewhere at the back of my mind I rush ever onwards into the vast world of Python!
Current progress:
Code:
# This is a display of my current work done in python
nil = 0
name_long = 7
print "Hello. Welcome to your adventure."
name = raw_input("What is your name?")
name_len = len(name)
if name_len >= name_long:
print "Wow, %s is a long name!" %s (name)
elif name_len = nil:
print "You have not put in a name..."
else:
"You have a nice name. %s" %s (name)
I'll be learning more soon, so yeah... Come back and check my progress.
(If this is the wrong place to post this sorta thing, feel free to move it :thumb: )