windows - Trying to negate the end of the string -
in python, whenever try run program, part has backslash(negating ending of string) not show up.
father_name = ('\please enter father\'s name') print('') mother_name = ('\please enter mother\'s name') print ('')
when run on shell, happens:
please enter date of birth lehl please enter age 33 please enter physical address no idea please enter phone number 53525265345
the space in middle code should isn't
you need ask user input. change 2 lines following, , remove print() statements print nothing.
father_name = raw_input("please enter father's name: ") mother_name = raw_input("please enter mother's name: ")
Comments
Post a Comment