Курсы
Курсы
Компилятор кода
Компилятор кода
Обсуждения
Цены
Teams
Войти
Регистрация
Menu
Обсуждения
Поиск
Поиск
Задать вопрос
Задать вопрос
Variables get printed right away, even if just defined without called, why?
autonatically
def
define
definition
help
print()
python
var
variable
1 голос
8 ответов
24th Aug 2017, 9:39 PM
Markus Beyer
Why is a boolean of False produced rather than true?
boolean
input
list
lists
print
python
variable
1 голос
4 ответов
15th Nov 2016, 2:18 PM
Dave Matthew
How do I check that the user has entered integer/character as input so that I can store it in a variable of the same type
c++
1 голос
1 ответ
19th Jun 2020, 12:00 PM
varun
Assume there is a class Derv with one int variable that is derived from a base class Base with one int variable.
c++
class
declarations
0 голосов
1 ответ
11th Jan 2021, 12:43 AM
mohamed emad
Can someone help me to create a program which take two variable and swap them with the help of a temporary variable.
c++
cin
cout
0 голосов
2 ответов
25th Jul 2016, 1:29 AM
himanshu ramawat
Hello,i want to know a program in java where i ask user what is you name ? then i ask him what is you age ? then i write thanks!
comments
java
method
modulo
operators
primitive
scanner
variable
0 голосов
2 ответов
18th Jun 2018, 5:21 AM
Kumar Purushottam
Why can't I bring a value of a variable to an other method to do something with it and bring it back?
c#
csharp
0 голосов
1 ответ
17th Nov 2018, 2:37 PM
Samuel
How can I check if what is being typed into a edit text is equal to what I have is a variable
android
java
0 голосов
1 ответ
19th Apr 2018, 9:24 PM
Adrian Williamson
Cartesian coordinates in C
c
coordinate
insert
struct
variable
0 голосов
1 ответ
29th Jan 2019, 9:32 PM
MargaritaK
I want to know the code that moves the html object with the JavaScript variable value. I'd appreciate it if you could attach the
code
css
help
html
javascript
web-storage
website
1 голос
1 ответ
5th May 2021, 12:47 PM
the joy of coding
Can we use variables assigned in the javascript anywhere in the HTML? What to do to assign that variable to other places of html
javascript
0 голосов
1 ответ
2nd Jul 2019, 11:06 AM
Abhra 2005
What does Array bound is not an integer constant before ']' token mean??
array
bound
compile
datatype
dynamic
static
variable
vector
1 голос
1 ответ
18th May 2020, 7:32 AM
Om Prakash Yadav
She plays work at a pizza place and earns 200 robux , creat a variable called robux and assign it the value 200 , she plays for
python
0 голосов
2 ответов
23rd Dec 2021, 6:59 AM
suraj prakash
Is it possible to set a letter to a variable and have it go through the rest if the alphabet by any means? (Explained better inside)
python
0 голосов
3 ответов
15th May 2017, 12:20 AM
Matthew Stroud
Write a query in SQL that uses a random number generator to create a variable integer to determine the amount of rows selected.
query
rng
sql
variables
0 голосов
2 ответов
27th Jan 2017, 6:11 PM
Andre van Rensburg
If we create new class which has a instance variable int a, without access modified, then what will the access level of int x be
java
0 голосов
1 ответ
28th Sep 2022, 11:50 AM
Oliver Pasaribu
If there are two same elements in an array then , do both of them saves the same variable and do both of them occupie same space
arrays
0 голосов
2 ответов
1st Jun 2018, 3:58 PM
Vedanta Singh
Can someone explain - why list initializers are used as variables in private access specifier. Why variable m becomes month m ?
c++
classes
0 голосов
1 ответ
12th Feb 2017, 1:57 PM
Black Temple
i m using a deque of type struct in c++. Struct contains multiple variable, how could i add those variable in deque
c++
deque
stl
1 голос
1 ответ
24th Jan 2018, 1:58 PM
shobhit
In a do while loop, condition is checked for the value of the variable at beginning of loop or after inc/dec operator?
loops
1 голос
1 ответ
18th Jan 2018, 5:15 PM
Sarala devi CS
How can i change the value of a variable after it has been assigned in js? (But not by editing the code)
html
js
web
0 голосов
1 ответ
20th Jul 2017, 6:12 AM
Rishubh Naik
If printf statement is assigned to a variable. After the excecution of that printf statement what will be the value of variable
c
0 голосов
1 ответ
12th May 2020, 4:13 PM
Reshma Sai
Devinez la valeur stockée dans la valeur de la variable "rowHeight" du code suivant: laissez hauteur = 40 laissez isCheck = true
"rowheight"
ischeck
let
swift4
0 голосов
1 ответ
18th Feb 2021, 1:25 PM
Vladys
How to use a var with function's parameter
function-arguments
functions
parameter
swift
variable
0 голосов
1 ответ
20th Mar 2017, 12:10 PM
Vitalii Kravets
about the variabile name rules, if I try to call a variable "cout", or any other reserved word, will it result into an error, or is it just a good practice?
c++
variables
1 голос
4 ответов
15th Jun 2016, 3:02 PM
naghree
i want to show value that is retrieved from database and stored in variable to text field .<input type=text name="" value =""> i want to show value in it..what is the method to print in python script
python
0 голосов
7 ответов
2nd Jul 2016, 9:42 AM
swapnil Singh
How can I transfer a Scanner(user input) into a variable?
help
java
please
scanner
transfer
variable
1 голос
2 ответов
12th Dec 2017, 8:13 PM
Clarke
How did your game programming career strarted and your first basic language to start and what degrees did u take
a
assign
c++
how
to
variable
1 голос
2 ответов
18th Jun 2017, 12:33 PM
Aryan Shiv . R
Why does printing a reference variable prints D string object if all it does is point to D memory address of D String object
java
reference-types
reference-variables
0 голосов
1 ответ
3rd Jul 2018, 8:30 AM
Just_Chuel
Guys in cpp I create a program has variable x and this program ask for the user input to give the value of x like this program :
c++
cpp
question_for_pro
0 голосов
2 ответов
2nd Aug 2019, 3:31 PM
PONAGAMA
Else statement not working Python
elif
else
for
if
python
token
variable
while
1 голос
1 ответ
7th Aug 2020, 9:18 PM
Clueless Coder
Please explain to me the difference between ++x and x++ ? If you could give and example that includes evaluating a y variable to
c++
increment
operators
variables
0 голосов
2 ответов
12th Nov 2016, 12:25 AM
Alice
Can anyone tell me what's the error ?
(
c
c++
cpp
initialization
int
loop
variable
while
1 голос
4 ответов
12th Jun 2018, 7:31 PM
Ishan
As we can change a type of a variable during tge run time of a program can we do it to pointers also
pointers
0 голосов
1 ответ
28th Oct 2018, 1:17 PM
Parikshit Sharma
Please I need the answers and little explanation. What type of variable is X. What is numb in the code. What is Randon
guys
hello
-1 голос
1 ответ
22nd Jul 2017, 9:15 PM
wilson
I make char name array and print the variable that hold reference value then why it shows no.in output but in other like in int
c++
compiler
java
javascript
python
0 голосов
1 ответ
20th Sep 2017, 5:02 PM
mohit thakor
Why I have to assign value to a variable to be able to print it out? Why couldn't I print it out directly?
java
methods
0 голосов
1 ответ
18th Sep 2017, 8:50 AM
Nourhan Hassan
Write ac++ that swaps two numbers using atemporary or third variable , the output shoyld be as below for anum1=5 and num2=8 ???
c++
0 голосов
1 ответ
12th Oct 2016, 11:26 AM
Hadeel Degaish
if we don't write "del" and declare same variables with two different values, and if we tell to print that variable then it is t
del
0 голосов
1 ответ
22nd Oct 2020, 4:36 AM
Kushal Barot
How we can read only the comments of any module?
coding
comments
framework
help
module
python
read
variable
write
1 голос
4 ответов
12th Jul 2018, 4:41 PM
Maninder $ingh
I understand how declaring a variable as static affects its relationship with objects, but I'm having difficulty understanding how doing so with methods has an affect.
java
static
2 голосов
1 ответ
30th Mar 2016, 12:10 AM
xDD90x
Declaring and defining a function in C
c
declaration
declaring
defining
definition
function
functions
int
name
variable
0 голосов
6 ответов
10th Nov 2020, 5:06 AM
CODECAT
In JavaScript, can you change an element’s attribute value to a variable?
dom
elements
javascript
methods
objects
variable
0 голосов
1 ответ
18th Jul 2018, 5:33 PM
Jimmy2890
What happens if I just declare the variable "sum" but don't put the initial value? For instance, if instead of saying "int sum = 0;" , I said " int sum;"
c++
variables
1 голос
3 ответов
3rd Jan 2016, 10:16 PM
Lucas
I have a program that will count up to a number. When I assign the variable x to a number manually, it works. When I use an input, the time limit is exceded. What is going wrong and how do I avoid this?
input
python
1 голос
7 ответов
9th Nov 2016, 12:28 AM
Zach Miller
Why do we declare strings in Java using the class String (not string)?
autobox
autoboxing
class
data
datatype
declare
java
string
type
variable
1 голос
5 ответов
1st Oct 2018, 4:50 AM
Roger Wang
Why would you re-assign a list variable?
code
help
list
python
question
variable
0 голосов
1 ответ
2nd Sep 2020, 3:41 AM
PY7HAGOREAN
I want to increment the global variable when i call a function but its giving me an error can some body help me out
python3
0 голосов
1 ответ
7th Oct 2018, 4:45 PM
Velivela Sai Chinna Madhu Babu
Which access modifier explicitly says that a method or variable of an object can be accessed by code from outside of the class o
is
of
point
return
the
what
-2 голосов
1 ответ
24th Apr 2020, 3:54 AM
Thiflan Silmi Kaffah
Please I need the answers and little explan. what type of variable is x, what is numb in the code, and what is Random
hello
0 голосов
1 ответ
22nd Jul 2017, 9:09 PM
wilson
Задать вопрос
Задать вопрос
Задать вопрос
Задать вопрос
< Предыдущий
1
...
47
48
49
50
Следующий >
Актуальное сегодня
I have finished first in Saturn League 3 times in a row, why have I not been given the badge for “Intergalactic Champion”
4 Votes
Python intermediate help with dictionaries
0 Votes
Marquee
1 Votes
Fill in the blank to declare a static variable.
0 Votes
What are the advantages and disadvantages of using let vs var when declaring variables in JavaScript?
0 Votes
Any Advise?
1 Votes
RUST'S FUTURE
1 Votes
Popsacles Aufgabe
1 Votes
How far do courses go on Sololearn?
0 Votes
Question #2: "Please activate your account and keep learning to enable messaging. An email has been sent to you"
1 Votes