Top "Built-in" questions

Built-in functions, modules and classes are standard parts of a programming language or framework.

What's the function like sum() but for multiplication? product()?

Python's sum() function returns the sum of numbers in an iterable. sum([3,4,5]) == 3 + 4 + 5 == 12 I'm looking for the function that returns the …

python product built-in pep
What is the purpose of the : (colon) GNU Bash builtin?

What is the purpose of a command that does nothing, being little more than a comment leader, but is actually …

bash shell built-in
How to find a value in an array and remove it by using PHP array functions?

How to find if a value exists in an array and then remove it? After removing I need the sequential …

php arrays function built-in
How to use the read command in Bash?

When I try to use the read command in Bash like this: echo hello | read str echo $str Nothing echoed, …

bash built-in
Which version of R is running in my computer?

There are two R directories on my computer: one is /home/R-2.15.2,the other is /home/R-2.15.1, when I input …

r version built-in
Decorating Hex function to pad zeros

I wrote this simple function: def padded_hex(i, l): given_int = i given_len = l hex_result = hex(given_…

python hex padding built-in
Decimal to hex conversion c++ built-in function

Is there a built-in function in c++ that would take a decimal input from a user and convert it to …

c++ hex decimal built-in
Geometric Mean: is there a built-in?

I tried to find a built-in for geometric mean but couldn't. (Obviously a built-in isn't going to save me any …

r statistics built-in geometric-mean
No module named builtins

I'm trying to convert my .py script into an executable using py2exe. I've had a number of issues so …

python py2exe built-in
What is the advantage of GCC's __builtin_expect in if else statements?

I came across a #define in which they use __builtin_expect. The documentation says: Built-in Function: long __builtin_expect (long …

c linux gcc built-in