Skip to content

Commit d35000b

Browse files
committed
Initial commit
0 parents  commit d35000b

File tree

9,878 files changed

+627832
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

9,878 files changed

+627832
-0
lines changed

.breakpoints

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"files": {}
3+
}

.replit

+108
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
# The command that runs the program. If the interpreter field is set, it will have priority and this run command will do nothing
2+
run = "python3 main.py"
3+
4+
# The primary language of the repl. There can be others, though!
5+
language = "python3"
6+
entrypoint = "main.py"
7+
# A list of globs that specify which files and directories should
8+
# be hidden in the workspace.
9+
hidden = ["venv", ".config", "**/__pycache__", "**/.mypy_cache", "**/*.pyc"]
10+
11+
# Specifies which nix channel to use when building the environment.
12+
[nix]
13+
channel = "stable-22_11"
14+
15+
# The command to start the interpreter.
16+
[interpreter]
17+
[interpreter.command]
18+
args = [
19+
"stderred",
20+
"--",
21+
"prybar-python310",
22+
"-q",
23+
"--ps1",
24+
"\u0001\u001b[33m\u0002\u0001\u001b[00m\u0002 ",
25+
"-i",
26+
]
27+
env = { LD_LIBRARY_PATH = "$PYTHON_LD_LIBRARY_PATH" }
28+
29+
[env]
30+
VIRTUAL_ENV = "/home/runner/${REPL_SLUG}/venv"
31+
PATH = "${VIRTUAL_ENV}/bin"
32+
PYTHONPATH = "$PYTHONHOME/lib/python3.10:${VIRTUAL_ENV}/lib/python3.10/site-packages"
33+
REPLIT_POETRY_PYPI_REPOSITORY = "https://package-proxy.replit.com/pypi/"
34+
MPLBACKEND = "TkAgg"
35+
POETRY_CACHE_DIR = "${HOME}/${REPL_SLUG}/.cache/pypoetry"
36+
37+
# Enable unit tests. This is only supported for a few languages.
38+
[unitTest]
39+
language = "python3"
40+
41+
# Add a debugger!
42+
[debugger]
43+
support = true
44+
45+
# How to start the debugger.
46+
[debugger.interactive]
47+
transport = "localhost:0"
48+
startCommand = ["dap-python", "main.py"]
49+
50+
# How to communicate with the debugger.
51+
[debugger.interactive.integratedAdapter]
52+
dapTcpAddress = "localhost:0"
53+
54+
# How to tell the debugger to start a debugging session.
55+
[debugger.interactive.initializeMessage]
56+
command = "initialize"
57+
type = "request"
58+
59+
[debugger.interactive.initializeMessage.arguments]
60+
adapterID = "debugpy"
61+
clientID = "replit"
62+
clientName = "replit.com"
63+
columnsStartAt1 = true
64+
linesStartAt1 = true
65+
locale = "en-us"
66+
pathFormat = "path"
67+
supportsInvalidatedEvent = true
68+
supportsProgressReporting = true
69+
supportsRunInTerminalRequest = true
70+
supportsVariablePaging = true
71+
supportsVariableType = true
72+
73+
# How to tell the debugger to start the debuggee application.
74+
[debugger.interactive.launchMessage]
75+
command = "attach"
76+
type = "request"
77+
78+
[debugger.interactive.launchMessage.arguments]
79+
logging = {}
80+
81+
# Configures the packager.
82+
[packager]
83+
language = "python3"
84+
ignoredPackages = ["unit_tests"]
85+
86+
[packager.features]
87+
enabledForHosting = false
88+
# Enable searching packages from the sidebar.
89+
packageSearch = true
90+
# Enable guessing what packages are needed from the code.
91+
guessImports = true
92+
93+
# These are the files that need to be preserved when this
94+
# language template is used as the base language template
95+
# for Python repos imported from GitHub
96+
[gitHubImport]
97+
requiredFiles = [".replit", "replit.nix", ".config", "venv"]
98+
99+
[languages]
100+
101+
[languages.python3]
102+
pattern = "**/*.py"
103+
104+
[languages.python3.languageServer]
105+
start = "pylsp"
106+
107+
[deployment]
108+
run = ["sh", "-c", "python3 main.py"]

main.py

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
print("Welcome to the Highest Score Finder! \n")
2+
3+
# 🚨 Don't change the code below 👇
4+
student_scores = input("Input a list of student scores: \n").split()
5+
for n in range(0, len(student_scores)):
6+
student_scores[n] = int(student_scores[n])
7+
print(f"Current Score List: \n{student_scores}")
8+
# 🚨 Don't change the code above 👆
9+
10+
#Write your code below this row 👇
11+
12+
highScore = 0
13+
14+
for score in student_scores:
15+
if score > highScore:
16+
highScore = score
17+
print(f"The highest score in the list is: {highScore}")

0 commit comments

Comments
 (0)