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
How to use ‘variables’ in a ‘python’ string
strings
variable
1 Vote
7 Answers
4th May 2024, 9:11 PM
Maleet Yobal
Why does every time I try to change the variable into a flaot it doesn't work pls help me!
python
variables
1 Vote
2 Answers
1st May 2024, 6:04 PM
Abu ANTAR
C language variable types
c
data-types
pointers
question
variable
0 Votes
3 Answers
29th Mar 2024, 5:49 AM
Lalala
how to make sure a dynamic variable is removed in C++?
c++
cpp
dynamic-memory
pointer
1 Vote
4 Answers
11th Mar 2024, 9:19 PM
Sanan
python -- how to prevent the first iteration and the second iteration to have same value on a same variable
loops
python
while
0 Votes
5 Answers
27th Jan 2024, 8:47 PM
Haji Abdirahim Ali
Function variable
python
0 Votes
6 Answers
27th Jan 2024, 7:06 AM
Muhammad
how to complete a code to ask the user for input, store it in the NAME variable and display it on the screen?
input
output
python
1 Vote
3 Answers
15th Jan 2024, 9:12 PM
Ahmed Eneji Emmanuel Sunday (Ansah Godwill)
Is this a good way to create dynamic variables in C
algorithms
c
data
dynamic
pointer
structures
typing
variable
0 Votes
1 Answer
13th Jan 2024, 1:46 PM
Finama Lflos
How to add space between a variable with an integer value and a variable with a string value when printing? What is str()?
print
python
strings
value-types
0 Votes
14 Answers
7th Jan 2024, 2:35 AM
Vincenzo
I created a variable with the it called as "name". I need to congregate it with a string before it and a string after it
experiment
syntaxerror
1 Vote
2 Answers
16th Dec 2023, 4:15 PM
Veera Ishaan
Several entries in the same variable
input
lists
python
variables
0 Votes
4 Answers
2nd Dec 2023, 3:01 AM
EMAKILLER
complete the code to get a user input and store it into a variable called address address. address = what is the answer ????
python
4 Votes
3 Answers
28th Nov 2023, 7:47 AM
Vasuki R
Storing long string inside a variable
python
string
5 Votes
16 Answers
20th Nov 2023, 5:51 AM
Wong Hei Ming
How to make a variable like n=1,2,3,4,5... In PY
python
variables
0 Votes
4 Answers
7th Nov 2023, 11:53 PM
Kreshnik Feka
Can you ignore a previously updated variable and print the former one?
variables
0 Votes
12 Answers
7th Nov 2023, 7:40 PM
Godson Okafor
Can I put a string in "" and a variable by using cout << at the same time, or it should be separated?
c++
help
1 Vote
6 Answers
5th Nov 2023, 6:37 PM
Magdalini
More elegant solution needed for repetitive variable use in Javascript-see answer for explanation (tech difficulties with site)
javascript
0 Votes
4 Answers
4th Nov 2023, 2:42 AM
Mark Niles
can an array be my variable name.eg, Var [hour, second, minutes] = [0, 0, 0]; pls explain this expression if it is correct.
javascript
2 Votes
3 Answers
13th Oct 2023, 10:00 PM
Temmy
....it keeps saying that variable sum got referenced before assignment...HOW!
error
python
1 Vote
17 Answers
1st Oct 2023, 6:11 AM
Intermediate Depression
Can someone help me understand why the remove function deletes the first variable in the queue? I don’t have a 100%understanding
c++
3 Votes
1 Answer
27th Sep 2023, 10:57 PM
Jacob Solomon
Why does the generic variable var doesn't have access to the instance variable "owner"?
c#
generics
1 Vote
1 Answer
12th Sep 2023, 1:52 PM
Y AD Ù
Why does this code only increment or decrement one variable but leave the other alone
c++
error
0 Votes
3 Answers
1st Sep 2023, 8:35 PM
Levi Saunders
Se puede asignar un número entero (int) como una variable en Python por ejemplo (1 = "hola mundo")
pregunta
python
variables
1 Vote
4 Answers
3rd Aug 2023, 11:12 PM
Leonardo Díaz Ruiz
Complete the code to ask the user for input store in the name (tom) variable and display in on the screen
anyone
1 Vote
3 Answers
18th Jul 2023, 9:00 AM
Sumit Gupta
What is the difference between the value and the variable name if the variable message and value Game over print("Game over")
python
0 Votes
8 Answers
12th Jul 2023, 4:44 PM
Asep Sujana
Creating new variable when using string function
string
stringfunction
variables
0 Votes
5 Answers
2nd Jul 2023, 4:00 AM
Junior
Variables vs Paramaters
paramaters
variable
2 Votes
8 Answers
1st Jul 2023, 12:28 AM
Junior
Variable Scope
for
lists
loops
python
variables
variablescope
1 Vote
13 Answers
21st Jun 2023, 8:56 PM
Junior
Is static variable is subset of global variable ?
c
c++
coding
dsa
expert
java
programing
3 Votes
2 Answers
20th Jun 2023, 1:24 PM
Md Saif Ali
How do you assign a variable in one of the member construct in C?
c
oop
0 Votes
3 Answers
19th Jun 2023, 6:11 PM
Shubham Ambekar
Why isn't not moving the variable square
css
html
html5
js
web
0 Votes
2 Answers
16th Jun 2023, 12:01 PM
Leonard
Would like to know about 'querySelector()'..
javascript
queryselector
script
variable
0 Votes
7 Answers
9th May 2023, 3:14 PM
Sony
variable with a number and a string
javascript
3 Votes
4 Answers
7th May 2023, 3:01 PM
akhil vaid
Fill in the blanks to declare a variable named "color" and assign the value 42 to it. The variable should not be changeable.
answer
me
please
1 Vote
6 Answers
29th Apr 2023, 9:32 AM
yohanan esubalew
Is there a way to call variable value directly, and display that same variable's name instead?
variables
1 Vote
6 Answers
27th Apr 2023, 12:58 PM
Aza
I put in a new variable and the compiler keeps saying EOF error
datastructures
python
0 Votes
3 Answers
25th Apr 2023, 1:31 AM
ARBEIT MANN
I want to explain about the type of variable char in C++?
c++
2 Votes
4 Answers
16th Apr 2023, 11:21 PM
Salam Tamam Kasm
How do you declare a variable that is not int in C++
c++
no_int
non-int
question
0 Votes
1 Answer
17th Mar 2023, 7:36 PM
Welcome To Dodgeball
I want to understand globals and locals. I guess it refers to global and local variable but still I am confused.
python
4 Votes
14 Answers
13th Mar 2023, 4:19 PM
viswajeet
Php: Access variable oft other funktion
classes
oop
php
variables
0 Votes
1 Answer
27th Feb 2023, 9:06 AM
Melanie Müller
Getting number of elements in a data frame on a specific variable
anyone
to
0 Votes
1 Answer
24th Feb 2023, 10:36 AM
PHILEMON MAKUBO NYAMAGAINI
Two stack variable address difference
c++
pointers
1 Vote
5 Answers
14th Feb 2023, 8:47 PM
Ketan Lalcheta
Assign a list variable to a new variable results in two variables with the SAME list. Why.
list
to
variable
1 Vote
5 Answers
14th Feb 2023, 6:54 AM
PholaX
How to Print 2 Formatted Variable ?
format
python
2 Votes
2 Answers
14th Feb 2023, 3:58 AM
Muhd Khairul Amirin
How do I change a variable based on radio input
help
html
input
javascript
variables
0 Votes
2 Answers
13th Feb 2023, 11:03 AM
Daisy
Method to change a variable smoothly over time in JavaScript?
change
continuously
javascript
variable
3 Votes
27 Answers
3rd Feb 2023, 8:53 AM
Scott D
Change the code to output the value of the variable raised to the power of 3.
changethe
code
of
output
raised
the
the
the
to
to
value
variable
0 Votes
1 Answer
3rd Feb 2023, 3:42 AM
Tame Hh
⭐How to change variable name dynamically?
javascript
js
0 Votes
3 Answers
28th Jan 2023, 8:37 PM
PR PRGR
Sir / Mam please tell me why this c++ program calling the base class variable when its private ??
help
inheritance
0 Votes
2 Answers
28th Jan 2023, 3:10 AM
Harshit Gupta
Using if statement to check if a variable is of a certain type
python
2 Votes
4 Answers
20th Jan 2023, 4:34 PM
CARTOON KIDS
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
2
...
49
Next >
Hot today
Help me learn how to use .value in Javascript please!
1 Votes
How to get Kotlin certificate here
2 Votes
String
0 Votes
Array of Object to Object using reduce()
0 Votes
I don't understand why g1, g2 & g3 values is not aligned with Group 1, Group 2 and Group 3 which is the expected output..
0 Votes
Fix code
0 Votes
The output is not matching the code.
0 Votes
How are you spost to do animashon
0 Votes
Help me please!!!
1 Votes
Can someone tell me what’s wrong?
1 Votes