Strange ERROR
andreibulibasa (2)

Heloo!,

I don't know what is hapening but I see to get an error that has nothing to do with my code in "Repl.it".

So, please HELP!

My code:
def sorted_LLIST(l2d):
sortedlist = []
for row in (l2d):
row.sort(reverse=True)
return l2d

print(
sorted_LLIST([[4, 2, 3, 4], [0, 5, 3, 2], [-5, -2, 13, 4],
[12, 11, 30, -20]]))

Repl response:
epl.it: Installing fresh packages

Collecting func_STR_ins_or_del
ERROR: Could not find a version that satisfies the requirement func_STR_ins_or_del (from versions: none)
ERROR: No matching distribution found for func_STR_ins_or_del

Repl.it: package installation failed!

You are viewing a single comment. View All
Answered by joshhies (139) [earned 5 cycles]
View Answer
andreibulibasa (2)

@liltaco - Thanks for your response!
Apaprently the "main.py" was forced in project mode. I not sure why, but I believe it was because i called function named "func_STR_ins_or_del" from a file that had a .py extension like "whatever_project.py"
I read in the help of repl.it that calling a .py fille will force your main.py to go in project mode.
To go back in Eval Mode I had to delete all the extensions of my project from the file tree.
According to repl.it help docs "In eval mode, you can evaluate code from the console (including values declared in your program)."