## Ask the user for his name and store it in a variable
name = raw_input("What is your name? ")
print ""

## These are the first ten indexes of the name (notice the space)
print "0123456789" #
print name
print ""

## Get the position (index) of the space character (" ") in the name. The first letter of a string always has index 0!
spaceIndex = name.find(" ")
print "Space is at index", spaceIndex # "Santa Claus".find(" ") → 5
print ""

## Slice the string from index 0 up to (not including!) the index of the space character
first = name[0:spaceIndex]
## Slice the string from the character after space to the end
last = name[spaceIndex + 1:]

print "First name:", first
print "Last name:", last