Help - why is my print statement being ignored? - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Homework (https://python-forum.io/forum-9.html) +--- Thread: Help - why is my print statement being ignored? (/thread-12049.html) |
Help - why is my print statement being ignored? - dmhdz - Aug-06-2018 Hi - I am new to Python and I am taking a beginners course that hasn't even started yet. A pre-assignment to practice is just not working. Getting frustrated and may not proceed. Can you tell me what I am missing here in the code (the print line, "I like your shoes", is being ignored.) n=input("What is your name?") print("Hello", n, ":)") if n=='Amar': print("I like your shoes") if n=='Brandy': print("You seem like a cool person")**For Amar, I am only getting: What is your name? Hello Amar :) RE: Help - why is my print statement being ignored? - buran - Aug-06-2018 It works for me
RE: Help - why is my print statement being ignored? - dmhdz - Aug-06-2018 My apologies and Thank you, I will review the BBcode help. |