Is there any way to find the solutions for the first HW assignment problem set 0 ? Or can someone explain how to do it, please.
print "Please insert your Date of Birth name = raw_input("**") Given this info, I think you can figure the rest out yourself.
Python has a built in function that allows us to ask the user for values and give that value a name at the same time. It's done like this: >>> date_of_birth = raw_input("Enter your date of birth: ") Enter your date of birth: 01/01/2015 >>> print date_of_birth 01/01/2015 An example of printing multiple things is: >>> print 'a' + ' ' + 'c' 'a c' Note the space between 'a' and 'c' in the output Link to how to use raw_input : https://docs.python.org/2/library/functions.html#raw_input I have given you all that I think is necessary for you to figure out the rest. Good luck!
Join our real-time social learning platform and learn together with your friends!