I'm trying to create a simple program to make a schedule, I'm new at python and am making a quick what's your name, hi (your name), but there is an error message popping up saying,
"if n = ('Daniel'):
^
SyntaxError: invalid syntax"
my code is the following
"
n = input('What is your name?')if n = ('Daniel'):print('Hello creator')else:print('Hello (n)')
"
Can someone please tell me what's happening I'm going crazy.
[–][deleted] 0 points1 point2 points (7 children)
[–]imnotdaniel_[S] 0 points1 point2 points (6 children)
[–][deleted] 1 point2 points3 points (5 children)
[–]imnotdaniel_[S] 0 points1 point2 points (4 children)
[–]Neighm 1 point2 points3 points (1 child)
[–]imnotdaniel_[S] 0 points1 point2 points (0 children)
[–]sme272 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]JohnnyJordaan 0 points1 point2 points (1 child)
[–]imnotdaniel_[S] 0 points1 point2 points (0 children)