python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Uninstalling Python 3.10 and Installing Python 3.9 on Mac OS Big Sur
I really need help with the following problem. I am trying to figure out how to go about uninstalling Python 3.10.1 on my computer which is a Mac OS Big Sur laptop (Version 11.6.2). I would like to in...
Johnny Ginger
Votes: 0
Answers: 0
gdbm with python3.9 unable to open a file created by gdbm with python 3.6
I upgraded from python 3.6 to python 3.9 and now the existing gdbm file is not getting read. Following error is being thrown, is there any way to fix this?
Platform: CentOS Linux release 7.9.2009 (Cor...
P K
Votes: 0
Answers: 1
elegant map over 2D list
What's an elegant way to map func over each value in a 2D list?
The best I have so far:
result = [[func(value) for value in row] for row in grid]
It's a shame I have to nest square brackets, and have...

theonlygusti
Votes: 0
Answers: 5
Variables in for loops
Hello I am new to coding and have chosen to start off with the language python 3.x. I am running into a problem as when I declare a variable and insert it in a for loop the variable is not changed.
Th...

Hugh
Votes: 0
Answers: 1