- Code: Select all
name = raw_input ("Hello, my name is Monty what's yours? ")
if 'Jacob' in (name):
print "Hello creator"
print "Nice to meet you " + name + "!"
but whenever I run it, it prints both. I'm sure there is a very simple fix to this but I am just totally blanking. Any help would be appreciated, many thanks!