How would I code a new line that says "i like your shoes" after saying Hello?
:code:
n = input("What is your name?")
if n == "Amar":
print("Hello " + n + ' :)')
:stopcode:
n = input("What is your name?")
if n == "Amar":
print("Hello " + n + ' :)')
woops im retarded
>>58360213
>input instead of raw_input
>not usingcode tags
>using python
>>58360255
i have to use python for Launchcode classes
also raw_input is python 3 instead of python 2
>>58360294
>using print("x") in python 2 instead of print "x"
>using python 2
You wouldn't because you are obviously too retarded to accomplish such a task.
>>58360425
clearly google searching tells me to do this:\n "blah blah blah"
but the interpreter just spits out:
SyntaxError: unexpected character after line continuation character
>>58360213n = input("What is your name?")
if n == 'Amar':
print("go back to the piece of shit country you live in, Amar. Europe for Europeans!")
>>58360571
n = input("What is your name?")
if n == "Amar":
print("Hello " + n + ' :)\nI Like your shoes!')
>>58360682
thats the code i eventually came to
thanks for being smart and not racist!
>>58360294
>also raw_input is python 3 instead of python 2
It's the opposite.
>>58360972
>muh racism
fuck off, sand nigger.