Files
kiss-vscode/projects/leet-code/test-python.sh

6 lines
158 B
Bash
Executable File

# "python" is supposed to mean Python3 everywhere now, but not in practice
if [ ! -z "$(which python3)" ]; then
python3 main.py
else
python main.py
fi