New course!
Every coder should learn
Generative AI!
Try a free lesson
Courses
Courses
Code Compiler
Code Compiler
Discuss
Get Pro
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
The given program defines a function printBill(), which takes one string argument and outputs formatted text. You need to take
basicpython
python
2 Votes
35 Answers
7th Sep 2021, 10:41 AM
Syekh Guntur Amara Putra
Default Argument not updated? (Python)
default-argument
python
1 Vote
4 Answers
28th Aug 2021, 1:30 AM
Edward Finkelstein
How can I pass an argument and return it with this line of code:
function-arguments
python3
return
0 Votes
21 Answers
27th Aug 2021, 7:46 AM
DN Josh
Write a recursive function int factrec(int N) that takes an integer N as argument and recursively computes and returns the v
programmin
-5 Votes
2 Answers
14th Aug 2021, 11:52 AM
Ñítîñ Jàìñ
Plss help me in this situation. The proble is "type error: x.isEven() missing 1 positional argument 'num'
classes
properties
python3
0 Votes
1 Answer
9th Aug 2021, 2:48 AM
joser Cuadra
Why can this run? How do arguments work in Python when a function contains another?
argument
python
1 Vote
1 Answer
4th Aug 2021, 6:34 AM
薛阳
You need to write a function that takes multiple words as its argument and returns a concatenated version of those words separat
py
0 Votes
2 Answers
29th Jul 2021, 12:44 PM
Mohamed Amine Ouljihad
Fill in the blanks to declare the class Student, with int data member called age. Student class has a constructor with one argum
a
age
age.
argument
blanks
called
class
constructor
data
declare
fill
has
in
int
member
member.
of
one
sets
student
that
the
to
value
with
-12 Votes
3 Answers
20th Jul 2021, 3:07 AM
FERPLAY.N
Is passing void as a argument to a function same as not passing any kind of arguments in C programming?
c
2 Votes
3 Answers
28th Jun 2021, 6:05 PM
Aswin Kumar S
Fill in the blanks to create a class and its constructor, taking one argument and assigning it to the "name" attribute.
"name"
and
argument
assigning
attribute.
class
constructor,
create
object
-3 Votes
1 Answer
27th Jun 2021, 5:54 AM
Tia
Template argument type
c++
type
typeinfo
0 Votes
1 Answer
7th Jun 2021, 8:36 PM
Ketan Lalcheta
You are making a Celsius to Fahrenheit converter. Write a function to take the Celsius value as an argument and return the cor
celsius
fahrenheit
-2 Votes
4 Answers
6th Jun 2021, 3:21 PM
Tia
I stored user's input in theDate variable but when putting at as argument in Date its not working. Is it because of its scope?
javascript
jquery
0 Votes
4 Answers
5th Jun 2021, 8:38 AM
dheeraj gupta
Random unwanted number printed.
argument
c++
default
functions
0 Votes
7 Answers
2nd Jun 2021, 6:05 AM
TeAiris Majors
According to positional argument it has to give an error instead of outputting it, Why
python3
0 Votes
3 Answers
12th May 2021, 3:28 PM
Akash Prasad
Anyone can tell me that how can I use 2d array as argument in function dynamically
2darray
cpp
0 Votes
3 Answers
1st May 2021, 10:55 AM
Harsh Pratap Singh
Function argument holds unexpected value: can you explain why?
challenge
function
function-arguments
python
2 Votes
4 Answers
1st May 2021, 7:25 AM
Lucie
How to make a function which can take second required argument ?
args
function
python
range
1 Vote
8 Answers
29th Apr 2021, 5:00 PM
KUMAR SHANU
How to call a function with one str argument and use that str as a variable to access a variable present inside a class.
python
0 Votes
1 Answer
26th Apr 2021, 6:16 PM
Abhishek Kumar
Can you assign an anonymous function to a variable and pass it as an argument to another function?
functions
javascript
4 Votes
6 Answers
21st Mar 2021, 10:42 PM
Apongpoh Gilbert
[Practice 41.2] Why does my code output ‘1’?
41.2
argument
c++
default
function
help
practice
0 Votes
6 Answers
18th Mar 2021, 9:23 AM
Plaush
Create a python class called vehicle with 2 objects as follows
argument
colors
python3
-1 Vote
3 Answers
27th Feb 2021, 2:23 PM
Himani Baro
PHP DateTime class constructor argument validation
datetime-class
php
1 Vote
2 Answers
15th Feb 2021, 9:25 AM
Ipang
Can I fill an array if I put it in the argument of a function?
arrays
function-arguments
functions
1 Vote
1 Answer
18th Jan 2021, 3:32 PM
DarkTechYon
You are making a Celsius to Fahrenheit converter. Write a function to take the Celsius value as an argument and return the cor
python3
0 Votes
2 Answers
1st Jan 2021, 2:56 PM
Coder Ayush
What is argument (passing argument) , parameters, ? Please tell me . ( If possible with example. )
c
1 Vote
4 Answers
28th Dec 2020, 6:58 PM
SARVESH ASHOK DEVRUKHAKAR
You need to write a function that takes multiple words as its argument and returns a concatenated version of those words separat
mojamed
-2 Votes
3 Answers
25th Dec 2020, 6:06 PM
Mohammed Dafa alla Mohammednour Hamid
You need to write a function that takes multiple words as its argument and returns a concatenated version of those words separat
aprogram
in
python
write
1 Vote
4 Answers
24th Dec 2020, 11:51 AM
Nallamala satish
What is the difference between argument and parameter in python ?
python
python3
1 Vote
2 Answers
12th Dec 2020, 8:48 AM
Rathindhar .R.M
Write a function which takes a number as argument and calculates its cube. If no no.is entered, then it calculates the cube of 2
python3
0 Votes
3 Answers
12th Dec 2020, 8:18 AM
Kashish Juneja
Python question function argument
argument
code
function
problem
python
1 Vote
12 Answers
3rd Dec 2020, 4:02 AM
Yazan
What does this mean "uncaught syntax Error: missing) after argument list line 6"
javascript
0 Votes
1 Answer
19th Nov 2020, 9:46 AM
Lewis Kashimba
Write a program with the function chkOdd() that takes one argument (a positive integer) and report if the argument is odd or not
function-arguments
python
-2 Votes
1 Answer
17th Nov 2020, 9:27 PM
Prerna Keshkar
Write a program with the function chkOdd() that takes one argument (a positive integer) and report if the argument is odd or not
function-arguments
python
-1 Vote
2 Answers
17th Nov 2020, 9:13 PM
Prerna Keshkar
function name ispositive which takes integer as an argument and returns true;if the argument is positive no are false otherwis
c++
0 Votes
4 Answers
14th Nov 2020, 6:40 AM
Zeroboy
what is the default value of start and end argument if step is negative in slice notation ?
python
slice_notation
1 Vote
3 Answers
13th Nov 2020, 4:59 PM
Ratnapal Shende
You are making a Celsius to Fahrenheit converter. Write a function to take the Celsius value as an argument and return the cor
bigenner
help
python
python3
1 Vote
27 Answers
11th Nov 2020, 3:58 PM
Dino Gupta
I am stuck in this code plz help me guys??
argument
c++
codecoach
default
2 Votes
2 Answers
10th Nov 2020, 10:27 AM
🤴🌹Cute Princess 🌹💐
How can I print value of var n if one of the argument of constructor of a class and var name is same but different values ?
python3
0 Votes
1 Answer
7th Nov 2020, 6:23 AM
Rajan K
How does a higher order function pass argument to a function that is an argument?
arguments
function
high-order
javascript
2 Votes
2 Answers
4th Nov 2020, 3:34 AM
Logos
How to pass <str:—-> argument to REVERSE in Django?
django
python
reverse
url
1 Vote
1 Answer
1st Nov 2020, 10:31 AM
Adarsh Mamgain
Why do we pass a function as an argument to another function?
functions
python3
6 Votes
13 Answers
29th Oct 2020, 10:05 PM
Ebonam Ifesinachi
Python - Why do a and c have the same address?
address
argument
function
python
1 Vote
2 Answers
18th Oct 2020, 10:42 PM
Solus
When I want to give any argument it write you email is not actives I can not understand what I do
tags
0 Votes
3 Answers
8th Oct 2020, 10:26 AM
adarsh Shukla
The first is the output string with a format specifier (%ld), while the next argument returns the sizeof value. In the final out
c
0 Votes
3 Answers
8th Oct 2020, 8:56 AM
Emdad Ullah
Is lambda functions can take any data type as argument ?
functions
lambda
python3
1 Vote
2 Answers
6th Oct 2020, 9:46 AM
Rajan K
How do we pass a multidimensional array as an argument in python3 functions?
arrays
function-arguments
python3
1 Vote
2 Answers
5th Oct 2020, 7:25 AM
Shruti Kadam
How to pass java command line argument on android?
system.out.println(args[
0 Votes
1 Answer
27th Sep 2020, 3:41 PM
Ibrahim Isa Jajere
Argument
sololearn
4 Votes
5 Answers
25th Sep 2020, 2:29 PM
Nipuna Bhanuka Hettiwatta
Python: why did the y.append(x) value of object a become the argument for object c?
arguments
python
4 Votes
2 Answers
18th Sep 2020, 11:21 PM
Solus
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
2
3
...
7
Next >
Hot today
Isogram Detector
2 Votes
Popsicle program
1 Votes
Need suggestions what improvements can I do in it
3 Votes
[SOLVED] Why 'null >= 0' is TRUE?
3 Votes
pls how do I write comments in code
0 Votes
R programming
2 Votes
What is the generally preferred way of assigning values in Python?
1 Votes
I want you to help me guys
0 Votes
How to add shadow on text
0 Votes
Hello
0 Votes