python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to skip certain part strings if the coefficient is zero?
In this question, we want to return the function like this result but I do not want things like 0^5 to occur(because 0^5 is equal to 0 and I do not want to show that, how can I write a code to let the...
beginner.py
Votes: 0
Answers: 1
I am trying to install PyQt6 and am getting metadata error
New to Python. Attempting to install PyQt6. This is my error. Any suggestions?
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.tom...
Ed Thompson
Votes: 0
Answers: 1
Is there a way to use a regex inside a python pattern match?
This is common across functional languages that support pattern matching, so my intuition wants this to be possible.
I am looking for something like:
match string:
case "[a-zA-Z]":
...
777bpc
Votes: 0
Answers: 2
Remove dictionary from list if it contains forbidden value
I have a list of dictionaries:
my_dicts = [
{'name': 'aaa',
'codename': 'bbbb',
'type': 'cccc',
'website': 'url1'},
{'name': 'aaa2',
'codename': 'bbbb2',
'type': 'cccc2',
'product_url'...
Howins
Votes: 0
Answers: 2