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)
Python, remove brackets from using values from a dict
mappe = {10 : [10, 1]}
pair = list(mappe.values())
liste = []
liste.append((pair) + [5, 6])
--> [[10,1], 5, 6]]
how can i remove the inner brackets?
mark882
Votes: 0
Answers: 2
I want to change the yellow bracket level in VSCode to a more visible colour
I am using VSCode and the (default) Light+ theme, on Windows 10. I like this theme but have a lot of trouble seeing the yellow against the white - same is true for all the "light" themes, s...
Paul Morrison
Votes: 0
Answers: 2
A question about the use of parenthesis with arguments
def calculate_pythagoras():
pythagoras_list = list()
for i in range(1, 101):
for j in range(1, 101):
c = (i ** 2 + j ** 2) ** 0.5
if (c == int(c)):
...
bluntknife
Votes: 0
Answers: 1
(Powershell) Does powershell have some weird parentheses/bracket balance rules?
My powershell acts very strangely when I try to make a function. To demonstrate, Here is a basic function that, I dunno, calculates the quadratic formula:
1 function Get-Quadratic {
2
3 [CmdletB...
AdmosJagashvili
Votes: 0
Answers: 1