i am working on python. I am trying to figure out how to input someone's name and birthdate, separately, and still get the two in the same inorder. can anyone read my code and tell me what is wrong with it? number = input("Enter your date of birth ") name = int(input("Enter your last name ") print('name' + 'number')
you have to do it like this number = int(raw_input("Enter your date of birth ")) name = raw_input("Enter your last name ") print name, number the comma is to print in the same line and without the ('') because its a variable, if you do it that way you will get namenumber instead.
hey raw_input doesnt work na on python 3.2 ???
i recommend you tu use python 2.7.1
i recommend you tu use python 2.7.1
if you're using python 3.2, simply replace raw_input with just input. It works the same.
why do we use int(raw_input()) instead of input() (which gives runtime error) and raw_input doesnt...
can anyone tell me how to get it downloaded? I am haveing issues! I am doing everything it says and I got it downloaded and then my computer error read not compatible. Why is this and what do I have to do to install after download?
Join our real-time social learning platform and learn together with your friends!