Corsi
Corsi
Compilatore di codice
Compilatore di codice
Discuti
Prezzi
Squadre
Accedi
Registrati
Menu
Discussioni Q&A
Cerca
Cerca
Fai una domanda
Fai una domanda
It is showing an error in the 5th line i.e. in the variable result. Thank you in advance for your assistance pals
python3
0 Voti
2 Risposte
24th Jun 2021, 2:38 AM
Sanchit Bahl
I was trying to put print(kilometer + "length"). I already created the variable for length but it says error. Can someone help?
python
0 Voti
2 Risposte
3rd Oct 2020, 8:17 PM
Andres Villarreal
How to add a variable into a class which is not defined in the class. I want to add it after creating the class.
c#
class
classes
field
objects
0 Voti
3 Risposte
21st Mar 2021, 7:01 AM
Mahdiuzzaman Nishat
we could have print the value of age variable directly in the class, then why use this.age ?
c#
this
0 Voti
2 Risposte
4th May 2016, 6:57 AM
Umesh Kuniyal
Is there any way I can introduce variable for the command of mysql example.execute("create database #var")in python?
databaseconnectivity
mysql
python
pythonmysql
0 Voti
1 Risposta
25th Nov 2019, 1:26 PM
Urmi
I want to transform variable class private and do encapsulation, abstraction, and inheritance with programing oriented object.
abstraction
encapsulation
inheritance
pratique
0 Voti
1 Risposta
28th May 2021, 12:25 PM
Malick Diagne
is possible to copy the whole content of one html file to javascript variable in other html?
css
html
javascript
0 Voti
1 Risposta
8th Aug 2017, 2:47 PM
Tharanes Thaara
How to include library in python and how to describe a variable as a particular data type
python
structure
0 Voti
1 Risposta
23rd Oct 2016, 5:16 PM
harish
What is the maximum number which a for loop can reach? (Hint: for any variable type )
can
forloop
integer
loop
maximum
reach
value
0 Voti
1 Risposta
27th May 2017, 1:06 PM
Furkan AYDOĞAN
Why do I can't initialize protected variable through constructors aren't they inherited protected members of derived class?
c++
polymorphism
1 Voto
1 Risposta
23rd Dec 2016, 6:07 PM
Abhishek Sharma
can someone help me with this function please, it prints the desired outcome but it doesnt plug in my variable
function-arguments
javascript
variables
0 Voti
3 Risposte
5th Jul 2017, 6:26 PM
Escobar
Why size of any pointer variable depends on Computer Architecture ? And If not then on what it depends ?
c++
1 Voto
2 Risposte
9th Aug 2017, 3:01 AM
Arvind Singh Rawat
is there a issue in jump ahead question where it asks to define a variable and add 5 to it?
python
0 Voti
3 Risposte
21st Jul 2016, 1:13 PM
Ishan Bisht
What we will do if the range of the input data is greater then the capacity of the declared variable
c++
0 Voti
3 Risposte
22nd Oct 2016, 2:28 AM
abhishek
Randomize in JavaScript
javascript
math.random
random
var
variable
1 Voto
3 Risposte
13th Jan 2018, 9:26 PM
YoBoi
What's the difference between ++x and x++ in java
++x
instruction
java
variable
x++
1 Voto
2 Risposte
1st Oct 2017, 3:24 PM
Stefko Yoshovski
I am using a program to check whether character is constant or variable I am using switch statement .
c++,
switch
0 Voti
1 Risposta
22nd Mar 2021, 5:15 AM
Nitin Bisht
How can I reassing a global variables in local namespaces in Python?
big_fat_gorilla
function
global
namespace
nonlocal
python
reassign
variable
3 Voti
5 Risposte
30th Mar 2019, 7:45 PM
Seb TheS
Is there a way to store a variable in Java without losing it even after stopping the program without using files or databases ?
java
0 Voti
5 Risposte
13th Jul 2017, 10:33 PM
ilyes younes
how can we invoke global variable in C program? ....P.S. I KNOW HOW TO DO IN C++ but not sure about C......
c
scope
variables
0 Voti
2 Risposte
26th Jun 2018, 9:15 AM
[ ]
In public section- is 'var' acting as a data type for (a) during initialization. Or is (a) being assigned to variable 'var'.
c++
classes
this
1 Voto
3 Risposte
13th Feb 2017, 7:36 AM
Black Temple
In C++, how do you compute the side length of a square whose area is stored in the variable area?
amel
aravid
bbc
c++
heken
steven
1 Voto
2 Risposte
31st Jan 2017, 10:09 PM
Zeyad Sharo
fill in the blanks to take the value of the x variable from user input double its value and print it
python
-1 Voto
2 Risposte
25th Oct 2021, 3:55 AM
Siva Siva
Function body have variable and print stmt , when outside of function first print then call body function give only error.
!scope
body
console
experiment
functions
log
print
1 Voto
1 Risposta
30th Aug 2020, 9:49 AM
ASP
Here the output is 0, but why not 1 ? is the scope of variable 'a' ends with the method ..?
increment
java
methods
0 Voti
2 Risposte
14th Dec 2018, 4:43 AM
Sharief
Can we declare a variable as static final and assign a value to it in the next line?
final
java
0 Voti
2 Risposte
28th Jul 2016, 4:48 AM
Selva Kumar
The address of a variable can be directly accessed by Ampersand....Then why do we use pointers isn't useless....
ampersand
c++
pointers
0 Voti
1 Risposta
15th Dec 2018, 12:20 PM
Aamir Mehmood
Why we use same name of instance variable as the argument name( of initialize method) followed by @
classes
ruby
0 Voti
2 Risposte
2nd Dec 2016, 12:57 PM
abhishek sharma
How we can create private functions,variable in python.
coding
java
private
public
python
python3
sololearn
variable
3 Voti
2 Risposte
22nd Oct 2018, 4:36 PM
Maninder $ingh
In the variable lesson, I don't understand why the word "not" is in another color and rejected in "spaces are not allowed
python3
variables
0 Voti
2 Risposte
8th Jul 2020, 7:55 PM
DESMOND OMOREGBEE
In c what is meant by char *s? I know char s is declaring s variable of character but what * means?
y
0 Voti
3 Risposte
22nd Jul 2018, 11:10 AM
Saurabh Jankat
How to find the data type of variables in java?
data
find
in
java
of
type
variable
1 Voto
4 Risposte
27th Oct 2021, 6:15 AM
Anima Singh Dhabal
Why can I return a local variable from a function? Shouldn't local variables be deleted from the stack after function execution?
functions
0 Voti
2 Risposte
29th Nov 2018, 10:12 AM
Matthias Folte
¿Una ID en javascript puede meterse en una variable y trabajar con ella en lugar de con la misma ID?
jquery
variable_con_bucles
variables
1 Voto
1 Risposta
18th Jul 2018, 6:13 AM
Angel Luis García-Junco Lora
How can strings be allocated in the heap using pointers. Strings can have variable size then how can they given a space in heap?
allocation
c++
cin
guest
memory
new
pointers
strings
0 Voti
3 Risposte
4th Jan 2020, 2:34 PM
Sajal Chuttani
PHP variable example start with $ but could anyone explain what's mean by $ double dollar sing ??sorry for RIP english 😁
$a
double_dollar
2 Voti
2 Risposte
3rd Dec 2017, 10:46 AM
Arnab Bhattacharya
Variable types are not declared while setting a value. then how or what number of bytes are being allocated in the memory?
python
variables
1 Voto
3 Risposte
2nd Jul 2016, 7:30 PM
Protiti sengupta
How do I put someone's input into a variable and gather info about the input and use it in an if statement?
python
1 Voto
3 Risposte
25th Mar 2017, 10:56 PM
privrax.
How would i go about re-generating a random number?
c++
cpp
number
random
variable
1 Voto
3 Risposte
27th Jul 2017, 4:46 PM
X-1
How can i relern html to get more xp?
coder
hacker
html
sololearn
variable
2 Voti
2 Risposte
13th Jan 2018, 7:57 AM
Shahan
explain this code please.
data
java
method
type
variable
1 Voto
3 Risposte
18th Mar 2017, 12:41 PM
Mogammad Shameer Losper
Which type of variable we will use if we have both integers and alphabets in a same 'variable'..?
java
variables
0 Voti
2 Risposte
7th Feb 2017, 12:35 AM
Muhammad Ahsan
Why does it say to only declare the variable once but then that we can update and change it as often as you want?
c++
variables
1 Voto
4 Risposte
5th May 2017, 1:13 AM
Jullian Kline
What are the defaults? If you just state a variable int x; What is the default size and is it automatically signed or unsigned?
c++
data-types
1 Voto
4 Risposte
2nd Nov 2015, 4:51 PM
OTheB
Just comparing String variable with a raw String, if any mistake is there then Please let me know . Thanks in advance
c++
0 Voti
3 Risposte
18th Oct 2018, 5:39 PM
Shas3 Annabond
Why specifying the data type for a given variable in C++, more than once results in a syntax error ?
error
syntax
variables
1 Voto
2 Risposte
29th Jan 2018, 5:48 PM
FullCoder ALCHEMIST
Pls What's the code to get what variable type a result is and how do I use it in conditional statements like 'if'?
python
type
variable
variables
0 Voti
2 Risposte
7th Dec 2016, 1:00 PM
Ade-onojobi Oluwadewalade
What is $_GET ?
array
get
php
variable
0 Voti
2 Risposte
17th Oct 2016, 5:39 PM
Hussein Hallafi
I wonder. Since we don't need to declare a variable, does this mean that a variable which first I assign a numeric value can be assigned later with, for example, string value?
data-types
php
3 Voti
8 Risposte
2nd Mar 2016, 4:41 AM
Ade Kurniawan
Function variables problem
error
function
game
html
javascript
js
problem
teleport
variable
web
8 Voti
2 Risposte
17th Apr 2018, 12:35 PM
Arne Van Kerckvoorde
Fai una domanda
Fai una domanda
Fai una domanda
Fai una domanda
< Precedente
1
...
44
45
46
...
50
Successivo >
Popolare oggi
I think the heart system is ridiculous, 5 hearts that refill after like 5 hours? That is really just crazy to me.
4 Votes
Guys I don't know anything about cooding who can help me pls
1 Votes
Why can’t I use double “ in python?
1 Votes
What do you think of this code and what are your suggestions for developing and modifying it?, How can I develop myself more?
1 Votes
Coding for Cybersecurity
1 Votes
Need help
1 Votes
Pointers in c#
1 Votes
You’re free to give me your advice! 🚨
1 Votes
Salut tout le monde
1 Votes
How can i isntall modules
1 Votes