Well, I started with python and I made a program like this:
name = input("What's your name: ") name.lower() if name == 'mike': print("you are a idiot") elif name == 'sharmila': print("Gimme toffies!") else: print("yer name is'nt recognized ")
but in the output its like this:
What is your name:
and when I type something like:
What is your name: idiot
then if I press ENTER, something weird happens- nothing actually happens!
Help in Sublime Text Python
god
#1
0 Likes
Clams
#4
You can’t use them inside sublimetext, you have to run your script in a separated console.
Maybe you can try SublimeREPL plugin, but I read it was supported anymore.
0 Likes
niklas
#5
I use
https://packagecontrol.io/packages/Send%20to%20Shell
to send to an external terminal running IPython when I test small snippets of code.
0 Likes