+ 1
code using input and print
print("hello!\n input("Enter a number please")) SyntaxError: invalid syntax so this is showing me syntax error so can you tell me what part I am doing wrong.
2 Answers
+ 3
print("hello!\n ",input("Enter a number please"))
...just add a closing double quote and comma after \n
+ 2
print("hello\n"+input("Enter a number please"))
But I think what you really wanted is :
print("hello")
n = input("Enter a number please")
(I may be wrong though)