if cake == \"delicious\": return \"yes\"
SyntaxError: \'return\' outside function
Why I get like this?
You can create some functions like this.
text ="delicious" def check(text): if text=="delicious": return 'yes' check(text)