Top "Operands" questions

Operands are values acted upon by an operator, method, or other functional entity.

Bad operand type for unary +: 'str'

I cannot figure out a problem I am having with code written in Python 2.7. I am converting the references to …

python operands
Invalid Operands to binary / (have 'int *' and 'int')?

Every time I try this: long crypt(int *integer) { printf("Enter five digit integer:\n"); scanf("%i",integer); int digit1=…

c header-files operands
CS0019 Operator cannot be applied to operands of type 'bool' and 'int'

This program is in response to the assignment: "Create a method named Sum() that accepts any number of integer parameters …

c# boolean operands
TypeError: unsupported operand type(s) for -: 'list' and 'list'

I am trying to implement the Naive Gauss and getting the unsupported operand type error on execution. Output: execfile(filename, …

python python-2.7 list typeerror operands
PHP &$string - What does this mean?

I've been googling but I can't find anything. $x->func(&$string, $str1=false, $str2=false); what does that &…

php operands
Binary operator + cannot be applied to two int operands

Hi I have a question about this code: 1) let label = "The width is " let width = 94 let widthLabel = label + String(width) 2) …

swift sum operands
How to solve && operands to logical scalar

After I run the code in matlab, I encounter this error and unsure how to solve it. How can I …

matlab if-statement logic logical-operators operands
What is this operand (*= star-equals) in SQL server 2000?

I have a query that I pulled from ms sql 2000 and plugged into a MySql query. It did not work, …

sql sql-server-2000 operands
Javascript: Comparing SINGLE Value Against MULTIPLE Values with OR Operands

Possible Duplicate: Check variable equality against a list of values Javascript if statement with multiple permissible conditions I must click …

javascript if-statement operands
unsupported operand type(s) for -: 'str' and 'datetime.datetime'

I'm trying to write a Python script to count down to my next birthday. Unfortunately, I keep getting this error …

python string for-loop types operands