If the user enters only one character, I want it to prompt for the name again; otherwise print the persons name in ASCII. Instead what is happening is it's printing the name depending on how many characters are in the name ?
nameAsk = raw_input("What is your name?")
for name in nameAsk:
if (len(name)>=2):
print(ord(name))
else:
raw_input(nameAsk)