486 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
65
views
Why am I getting Pycharm Operand Error in my code? [duplicate]
I am getting an operand error in pycharm, and I don't understand why because in pycharm instant feedback sense, the code is correct.
What is your name?
How old are you?
Traceback (most recent call ...
1
vote
1
answer
76
views
How to set the register from the data from memory using the CMOVG instruction?
The problem is inside the Graphic subroutine at row 236. (4th, 13th and 16th row in sublabel .writePixel).
In this subroutine I browse the graphic pixel from 280 to 487 column and 368 to 385 row. (...
1
vote
4
answers
137
views
How can i solve a problem by using the outcome of a function as a variable in the following?
I have come up with this code:
lista= [5,3.2, 'Error', 44, 'Error', 35]
listb= [70, 70, 20, 410,'Error', 4.9]
for i in range(6):
a= lista[i]
b= listb[i]
if a == 'Error' or b == 'Error':
...
-2
votes
1
answer
104
views
"unsupported operand type(s) for +: 'int' and 'str'" [duplicate]
Ive been trying to find a solution to this problem for a while now but I did not find a single way to fix my problem, it would be great if somebody helped me out here.
So basically I wanted to create ...
0
votes
0
answers
68
views
How to configure sorted fuzzy search without fuzzy operand in the query in SOLR
The following query does a sorted fuzzy search in SOLR 9.3
{!type=complexphrase inOrder=true}Appfel~1
where
Parameter
Meaning
{! }
Local query parameter referred in SOLR documentation as LocalParams
...
-2
votes
1
answer
273
views
TypeError: unsupported operand type(s) for ** or pow(): 'NoneType' and 'int'
Can someone please answer my question? Why am I getting the error message "TypeError: unsupported operand type(s) for ** or pow(): 'NoneType' and 'int'", when I run the following code?
...
0
votes
0
answers
41
views
Operand is not showing in output
I am making calculator using html, css and javascript.HTML and CSS are working but I have issue in javascript as I am still a beginner. I first made a logic to store operands(+,-,*,/) in a variable ...
0
votes
1
answer
269
views
How to get output value of Nonetype variable as integer
Please need help.
I want to pick an output value from a nonetype variable and subtract it from an integer variable
i wrote down an input box but am not able to pick the value from the assigned ...
0
votes
0
answers
35
views
Operand type clash after partition - only occurs when INSERT INTO
Am trying to add a flag into a query and am using the following line
,ROW_NUMBER () over (partition by JOB.\[Employee Number\],JOB.\[Eff Date\] ORDER BY JOB.\[Employee Number\]) as \[RN\]
When i run ...
0
votes
1
answer
60
views
Invalid operands to binary (Comparing Double and Int in If statements) C Language [closed]
I am trying to make a Time Checker for my "Make a Grocery Store Project". Problem is that when I try to do an error-check for wrong userinput, it doesn't let me compare the two variables. I'...
-1
votes
2
answers
97
views
How do I fix Invalid Operands To Binary + (have 'struck _' and 'struct _ ')
It displays [Error] invalid operands to binary + (have 'struct bus' and 'struct bus') enter code here
struct bus
{int bus;
}b1,b2,b3;
int main()
{
printf("Enter bus fair 1");
scanf("%...
0
votes
1
answer
5k
views
TypeError: unsupported operand type(s) for //: 'str' and 'int'
Why am I getting the error TypeError: unsupported operand type(s) for //: 'str' and 'int' in my code?
enter image description here
I was expecting it to print whole hours rented, but it came up with ...
0
votes
3
answers
7k
views
Python TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'
I have a list with a single value in it, populated in one function.
I have another function that I want to take that value, divide it by 2, and place it into another list.
I've found similar issues, ...
0
votes
1
answer
77
views
How can I make sure my constraint can operate mathematically with the LpVariable?
I am trying to use the pulb libraries classes to solve a LP-Problem. I am having problems implementing the constraint into my code.
After importing the relevant classes and reading from my CSV file I ...
3
votes
1
answer
609
views
Java calculator (order of operations)
How do you tell Java the order of operands?
Well, I am pretty new to coding and a friend of mine in a higher course got asked to make a calculator and I got interested in how would it would work.
I ...