Python Adventure‎ > ‎

Adventure Introduction

Creating a character
In this section we are creating hitpoints and experience points.
Depending on the players choices these will increase or decrease.
You can call them what you like but as they are variables I recommend
all lower case with no spaces.
You can copy and adapt this code

name=input("Type in your adventurers name")

print("Welcome",name,"to the.....")
#create hitpoints variable containing a number
#create experience variable containing nothing
#put the users choice of name into variable
#Use the variable name in a print command
Edit the print command so that it welcomes name to your adventure and displays their hitpoints and experience.
Run your program
 DEBUG  your code if it doesn't work