Skip to content

Commit 71bc330

Browse files
authored
Update min and max versions (#266)
* Python 3.7 is the oldest supported * Python 3.11 is the latest
1 parent 087dea3 commit 71bc330

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

contemplate_koans.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/usr/bin/env python
2-
# -*- coding: utf-8 -*-
32

43
#
54
# Acknowledgment:
@@ -16,18 +15,18 @@
1615
if sys.version_info < (3, 0):
1716
print("\nThis is the Python 3 version of Python Koans, but you are " +
1817
"running it with Python 2!\n\n"
19-
"Did you accidentally use the wrong python script? \nTry:\n\n" +
18+
"Did you accidentally use the wrong Python script? \nTry:\n\n" +
2019
" python3 contemplate_koans.py\n")
2120
else:
22-
if sys.version_info < (3, 3):
21+
if sys.version_info < (3, 7):
2322
print("\n" +
2423
"********************************************************\n" +
2524
"WARNING:\n" +
2625
"This version of Python Koans was designed for " +
27-
"Python 3.3 or greater.\n" +
26+
"Python 3.7 or greater.\n" +
2827
"Your version of Python is older, so you may run into " +
2928
"problems!\n\n" +
30-
"But lets see how far we get...\n" +
29+
"But let's see how far we get...\n" +
3130
"********************************************************\n")
3231

3332
from runner.mountain import Mountain

run.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ REM You don't actually need this script!
55
SET RUN_KOANS=python.exe -B contemplate_koans.py
66

77
REM Set this to your python folder:
8-
SET PYTHON_PATH=C:\Python39
8+
SET PYTHON_PATH=C:\Python311
99

1010
set SCRIPT=
1111

0 commit comments

Comments
 (0)