Cursos
Cursos
Compilador de Código
Compilador de Código
Debatir
Teams
Iniciar sesión
Registrarse
Menu
Sesiones de PyR
Buscar
Buscar
Haz una pregunta
Haz una pregunta
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 Votos
1 Respuesta
26th Apr 2021, 6:16 PM
Abhishek Kumar
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 Voto
2 Respuestas
17th Nov 2020, 9:13 PM
Prerna Keshkar
Is lambda functions can take any data type as argument ?
functions
lambda
python3
1 Voto
2 Respuestas
6th Oct 2020, 9:46 AM
Rajan K
How can a function save previous argument that was passed to it?
c
function-arguments
functions
static
2 Votos
2 Respuestas
13th Dec 2019, 11:20 PM
mel1705
Difference between default constructor and no argument constructor in java
argument
constructor
default
difference
0 Votos
2 Respuestas
19th Apr 2017, 11:52 AM
hAdiA rAshId
Can you print the first argument by 'getting' the second?
hashmap
java
1 Voto
2 Respuestas
1st Feb 2017, 12:41 PM
Vincent
Ahat is command line argument and when do we need that?
java
0 Votos
4 Respuestas
29th Jul 2016, 4:01 AM
eugene dakarapu
why we need to pass an argument in an exit command?
c
0 Votos
4 Respuestas
15th May 2017, 12:05 PM
Ravi prakash
Do not know how to use no-argument constructor and an argument constructor
java
0 Votos
4 Respuestas
29th Sep 2021, 1:44 AM
David
In C++,is it possible to pass functions as argument of another function??
c++
function-arguments
0 Votos
4 Respuestas
30th Jul 2019, 6:48 AM
Abhishek V
Can you have more than one argument with a default value?
function-arguments
python
1 Voto
3 Respuestas
26th Jul 2016, 9:53 PM
Barcode
I have a question about function argument.
argument
pass
6 Votos
2 Respuestas
6th Sep 2017, 12:14 PM
Corey
what is the difference between passing argument by reference and passing function
c++
3 Votos
3 Respuestas
17th Sep 2016, 5:49 PM
ADITYA AVADHANI M.L
why it gives error when adding max argument to sub function
function
in
regex
sub
0 Votos
3 Respuestas
13th Sep 2018, 8:12 AM
moamen
Why does the argument (2,3,e="+") of the function bring to syntax error?
functions
python
2 Votos
2 Respuestas
28th Jun 2019, 5:33 AM
Valeria Vasylieva
Fill in the blanks to declare a method that takes one argument of type int. public int myFunc( x) return x*10;
final
java
3 Votos
7 Respuestas
4th Jul 2017, 7:06 AM
Walter Mugo
can somebody explain why a refrence must be passed as an argument to copy constructor?
c++
copy_constructor
0 Votos
9 Respuestas
29th Jul 2020, 2:09 AM
Janak Sharma
What is the benefit to use function parameters?
argument
parameter
2 Votos
2 Respuestas
5th May 2018, 6:15 AM
Varadi Nikica {🧙}
while(2,3) is valid in c language? If valid then which argument will used ?
c
2 Votos
7 Respuestas
26th Feb 2018, 1:53 PM
Nishigandha Bhukan
Why does this code prints not only the argument passed to the function but also an undefined type.
console
javascript
1 Voto
14 Respuestas
25th Aug 2022, 9:29 AM
Dhanraj Tamang
What does it mean for an argument to be "expected"?
c#
methods
0 Votos
2 Respuestas
16th Apr 2016, 11:57 PM
Kyle “Kilaya” Robinson
How to pass an list as an argument to a func??
functions
python
0 Votos
3 Respuestas
3rd Jan 2017, 9:12 AM
Deep Patel
How to pass a function as an argument to another function in C++?
c++
functions
pointers
1 Voto
3 Respuestas
2nd Jan 2020, 10:39 PM
Leo Hunter
How do I enter arguments in this app?
argument
kotlin
0 Votos
2 Respuestas
28th Jul 2019, 3:06 PM
D.YURI
Why I obtain Hello123 as a result? And what is the aim of the first argument "a-z"?
java
replaceall
2 Votos
9 Respuestas
21st Jan 2020, 4:28 PM
Hichem GOUIA
Why self argument is not passed , when we used super () method
inheritance
oops
python3
super()
0 Votos
3 Respuestas
17th Aug 2019, 8:27 AM
Sagar Hiremath
What is difference between parameters and arguments in methods?
argument
parameter
1 Voto
2 Respuestas
6th Dec 2018, 4:06 PM
Nitin Gutte
about default arguments
argument
c++
0 Votos
4 Respuestas
4th Dec 2017, 1:16 PM
HE HUALIANG
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 Votos
1 Respuesta
17th Nov 2020, 9:27 PM
Prerna Keshkar
[Solved] Questions about readlines():
argument
python
readlines
2 Votos
7 Respuestas
1st Apr 2022, 7:23 PM
Korkunç el Gato
How many argument pass during declaration of member function in unary operator
c++
0 Votos
3 Respuestas
20th Apr 2018, 4:58 AM
Ashumendra Pratap Singh
Why template function is not taking string as argument ? Thanks :D
c++
if-statements
2 Votos
2 Respuestas
16th May 2017, 4:35 PM
Ganesh Aleti
HELP USING ARRAY AS ARGUMENT 'AT THE VERY BOTTOM OF THE CODE'
help
me
please
python3
0 Votos
2 Respuestas
3rd Oct 2018, 4:01 PM
Elijah Mcgrue
How do we pass a multidimensional array as an argument in python3 functions?
arrays
function-arguments
python3
1 Voto
2 Respuestas
5th Oct 2020, 7:25 AM
Shruti Kadam
How can i put one argument in my system.out.println in my code?
code.
like
this
0 Votos
2 Respuestas
15th May 2020, 6:30 AM
Malick Diagne
Why is there an object as an argument in this multi-thread example?
argument
java
method
multithreading
object
run
runnable
start
thread
threads
1 Voto
1 Respuesta
26th May 2019, 11:17 PM
Roger Wang
Convert string to int when given 2 strings in an argument - error
convert
int
python
string
0 Votos
1 Respuesta
14th Oct 2021, 2:41 PM
Errorguy
what is meant by this error "SyntaxError: positional argument follows keyword argument" ?
error
python3
syntax
0 Votos
2 Respuestas
7th Apr 2020, 10:54 AM
sai
Can anyone suggest... How to run command line argument programs in java on phones ???
java
3 Votos
3 Respuestas
6th Feb 2022, 6:02 AM
Neeraj Kumar
Can I use default constructor and constructor with default argument in same class?
constructors
2 Votos
3 Respuestas
23rd Feb 2018, 8:22 AM
Suraj Manchala
What is the meaning or use of self in python class for e.g. def hi(self)?
argument
self
2 Votos
2 Respuestas
28th Jul 2017, 6:39 AM
Vishal Agarwal
does the return statement dépends on thé argument given to thé function? because this function prints none because there was no argument given to it.
python
0 Votos
2 Respuestas
30th Jul 2016, 5:32 PM
Alain Eros Prestige Musoni
Can I use an enum as an argument of a function?
enums
java
0 Votos
2 Respuestas
26th Oct 2016, 1:31 AM
Julio Omar Vega Guerra
if I don't use function argument in python means what happens?
function-arguments
functions
python
0 Votos
2 Respuestas
7th Oct 2016, 2:28 PM
Akshay Gudadari
Why dont we need to pass self argument in contructor, in python ?
classes
constructors
python
2 Votos
1 Respuesta
8th Aug 2018, 12:20 PM
MPNH Anonymous
Why can this run? How do arguments work in Python when a function contains another?
argument
python
1 Voto
1 Respuesta
4th Aug 2021, 6:34 AM
薛阳
What is command line argument... and why use
argument
command
line
3 Votos
6 Respuestas
12th Sep 2018, 10:55 AM
Rameshwar Shivshette
Hyphen in command line argument value treated as another parameter. Any solution
python
0 Votos
2 Respuestas
17th Dec 2018, 1:51 PM
Ravindra Meena
How does a higher order function pass argument to a function that is an argument?
arguments
function
high-order
javascript
2 Votos
2 Respuestas
4th Nov 2020, 3:34 AM
Logos
Could someone please explain how the whole argument passing thing in methods works?
methods
1 Voto
1 Respuesta
8th Jan 2020, 7:20 PM
Spuds
Haz una pregunta
Haz una pregunta
Haz una pregunta
Haz una pregunta
< Anterior
1
...
3
4
5
...
7
Siguiente >
En tendencia hoy
How to get better with problem-solving and programming
2 Votes
Ejercicio Pytho
0 Votes
What is that z for
0 Votes
Bug on "Java for Beginners Module 3 Quiz"
1 Votes
What's wrong with this code ? ( Beginner)
2 Votes
Suggestions needed
4 Votes
Write a program to find the strings are in isogram or not
0 Votes
Please rate my code from 1 to 10
2 Votes
How to start
0 Votes
Is there any new bug in the projects reply sections?
0 Votes