hi i need help with this thank you if you could help me thAT WOULD BE AWSON
print ("What is you name")
firstname = input()
print ("hello,",firstname)
print ("What is your surname")
surname = input ()
print ("your surname is,",surname)
print ("hello,",firstname,surname)
print("What is your age?")
age = int(input())
print("your age is", age)
Try using \n to put line spacing in between lines. You could also put spaces after the questions (Both inside the quotation marks) to make it so that the names aren't connected to the questions.
On line 5 don't put a space in between input and (
Also, instead of using commas it's better you use + with spaces in between values.
Here is the repl: https://repl.it/@TristanMisja/Help
this should neating it up a bit
firstname = input("What is you name")
print ("hello",firstname)
surname = input ("What is your surname")
print ("your surname is",surname)
print ("hello",firstname,surname)
What do you need help with?
change line 5 fromsurname = input ()
to surname = input()
Try:
age = input("What is your age?")
Have you tried:
print ("What is your age?")
age = input ()
print ('Your age is,',age, "!")```
I NEED HELP ADDING WHAT IS YOUR AGE
@Alicat What have you tried so far? Can you start by giving it a shot on your own? You learn a lot better that way, and then we can see what's going wrong and help you out.
@Alicat use an int or you can try printing your age as a string
You can take in the data immediately to a variable by changing the structure slightly.