Курсы
Курсы
Компилятор кода
Компилятор кода
Обсуждения
Teams
Войти
Регистрация
Menu
Обсуждения
Поиск
Поиск
Задать вопрос
Задать вопрос
Fill in the blanks to declare a variable, add 5 to it and print its value. >>> x = 4 >>> x = 5 >>> print
=
>>>
code?
is
of
output
pythowhat
the
this
x
0 голосов
2 ответов
30th Apr 2020, 9:42 AM
Nikhila Bangaru
How in C # random number x average to achieve?
average
c#
number
random
0 голосов
1 ответ
9th May 2017, 3:14 AM
Hamed Tohidi From Iran
item['images'] = [x for ok, x in results if ok]
loops
python
1 голос
1 ответ
30th Nov 2016, 3:07 PM
Mayank Motwani
int x = 3; while(x > 0) { System.out.println(x); x--; } /* Outputs 3 2 1 */
loops
1 голос
2 ответов
6th Aug 2018, 11:49 AM
Saurabh Negi
Sololearn a home for programmer like Xavier Institute for the X Men.
for
home
programmers
sololearn
2 голосов
2 ответов
20th Apr 2017, 9:50 AM
Habibou Amadou
Given a 2D array, feature matrix X and a vector y, return the coefficient vector, see the formula.
data
problem
question
science
solution
task
-1 голос
5 ответов
12th Nov 2021, 7:23 PM
NaBeeL NaQeeBi
can we declare system variables in phyton? like 2xy+3x in which x doest have value.
systemvariable
0 голосов
6 ответов
29th Sep 2019, 10:10 AM
amarendra
If 90x + 7 = 97, what is x?
logic
value-types
x
2 голосов
2 ответов
12th Feb 2019, 3:44 PM
David Boga
Create para ,apply border soild ,change the dimensions to 100 x 100
html
0 голосов
2 ответов
22nd Jul 2022, 5:13 PM
Priyanka Dhanke
How to get pos X and Y of object in java
java
sololearn
swing
xy
0 голосов
2 ответов
28th Apr 2020, 7:52 PM
Grzesiek Sikorski
Why (x and y) == y ? Why (x or y) == x ?
python3
0 голосов
3 ответов
6th Jul 2020, 10:23 AM
Alex
What does it mean i didn't understand pls help? for (auto x : adj[v]) { cout << "-> " << x; printf("\n");
adjacencymatrix
c++
graphicalrepresentation
3 голосов
4 ответов
17th Aug 2019, 10:54 AM
Piyush Srivastava
What is the output of this code? let x = 0; for(let i=0;i<3;i++) { x+=i; } console.log(x);
development
loop
web
1 голос
5 ответов
21st Jan 2023, 9:02 AM
Lusine Galstyan Nikolay
Two confusions in this: a,b,*c = [x for x in range(1,5)]
for
variable
0 голосов
1 ответ
28th Dec 2018, 1:50 PM
sky
Cout the number of occurence of a particular element x in c++ vector??
arrays
c++
vector
0 голосов
2 ответов
26th Jul 2023, 4:00 PM
Anuj Khare
What will be the value of x after the following code is executed?
(int
10;
20;
5;
for
int
x
y
0 голосов
1 ответ
3rd Oct 2017, 1:00 AM
natet2014
int x = 1; while(x > 0) { System.out.println(x); if(x == 4) { break; } x++; }
break
java
loop
while
2 голосов
4 ответов
5th Nov 2019, 3:23 AM
Minhaj Haider
Write a program to take x and y as input and output the string x, repeated y times.
for
python
0 голосов
8 ответов
14th Feb 2022, 10:17 AM
Rakshita Yachalgar
Please explain what the purpose of an x += operation is and what it's doing
operators
python
1 голос
6 ответов
2nd Aug 2016, 5:06 PM
Austin Shepard
How to append only the x first elements of a list, to another list.
lists
python3
2 голосов
1 ответ
26th Apr 2018, 9:08 PM
Hakim
Fill in the blanks to declare a variable, add 5 to it and print its value. >>> x = 4 >>> x + = 5 >>> print
python
-1 голос
3 ответов
28th Apr 2020, 6:54 AM
Salman farooq
I want create a list that contain all x and y element, but what is my fault?
phyton
1 голос
7 ответов
27th Jun 2020, 7:31 PM
Abbakar_ah!!!
C - Why does this code, without casting x to int, return a garbage value?
c
type-conversion
variables
2 голосов
1 ответ
26th Sep 2019, 8:59 PM
Paolo De Nictolis
Fill in the blanks. A { private int x; public A( val) { x = val; } }
constructors
java
0 голосов
5 ответов
3rd Jul 2017, 10:51 AM
Walter Mugo
What happens if I assign a variable x to 8, and Y to x, can i later change what value x holds? Or is Y forced to be equal to 8?
ruby
variables
2 голосов
4 ответов
2nd Jun 2017, 9:40 AM
william
How to get value of x in sin(x) through a form ??
javascript
math
0 голосов
3 ответов
2nd Mar 2017, 3:49 PM
Rajesh Nathani
Why my code doesn't generate different values for x and f ? it should be random
python
python3
0 голосов
4 ответов
28th May 2023, 9:49 AM
Vinay Sharma
Can anyone please tell me why it is needed to use x //= 10 inthis code
else
if
0 голосов
6 ответов
28th Nov 2020, 5:27 PM
Rahul
Why is it SyntaxError when you give X or Y a negative value (on this code)?
createelement
fun
javascript
positive_value
priya
syntaxerror
web
x
y
2 голосов
5 ответов
28th Jul 2019, 4:18 AM
Ginfio
How I can read line in text file char by char using x
c
0 голосов
2 ответов
21st Mar 2023, 7:28 PM
Azir Azerto
What is the difference between 2 ** x and 2 * x?
python
0 голосов
3 ответов
4th May 2017, 6:38 AM
#Phootpritz
Un nombre x augmenté de 2 additionné de 12 et soustrait de x moins 2 et partagé en part est egale a 6. Quel est ce nombre x?
python
1 голос
2 ответов
12th May 2018, 11:29 PM
Kakashi Kemta
x = 10; console.log(x++); //10 console.log(++x); //12 console.log((x++) + (++x)); //26 console.log((x--) - (--x)); //2
decrement
increment
javascript
js
programming
1 голос
2 ответов
17th Jan 2022, 3:02 PM
Neel Tilak
i defined var x = 0704 ; and the o/p was 452 .can some one explain why
javascript
variables
0 голосов
11 ответов
18th Apr 2017, 5:22 PM
vineet pokhriyal
How can I add a x and y axis to this code because I didn't create a plot it is just an illustration
astronomy
blackhole
math
plot
python
scipy
x
y
1 голос
8 ответов
12th Mar 2024, 7:31 AM
P A Arrchith Iyer
Help me to code it x = (r+7)**2 r is in range (1,18) Find the sum of all the values of x. For e.g. if r is 1, x=64 If r is 2, x
(r
=
code
helpme
itx
to
-2 голосов
2 ответов
7th Jul 2020, 9:57 PM
Amitabh Pandey
In two dimension array let say arr[x][y]. How can i make a c program having different x and y value or x and y be the user input
c
0 голосов
3 ответов
21st Sep 2018, 6:33 PM
Riya Runjhun
If I write const int x=5; after many lines I again write const int x =10; What will the final value x at end of execution or it will be an error
c#
constants
1 голос
5 ответов
19th Aug 2016, 6:31 AM
Akshay Sajeev
How do I find 2 numbers whose product is equal to x
php
1 голос
1 ответ
18th Apr 2018, 8:52 PM
darell
/Calculate X raised yo power Y using different methods while :do while :for
c++
1 голос
1 ответ
21st Jan 2023, 6:32 PM
MO SHERIF
i need to repeat the function every x seconds, how can i do this ?
interval
python
python3
repeat
setinterval
2 голосов
2 ответов
18th Jan 2021, 7:53 PM
Adamyan
If x = 3 and y = ++x + x++ why y=9 not 8 . And if y= x++ + x++; y =7. What is that ?
c++
operators
0 голосов
11 ответов
16th Nov 2016, 7:38 PM
Александр Дубина
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
What does f(31415927) return, for the following function definition?def f(x): d=0 while x > 1: (x,d) = (x/2,d+1) return(d)
python
2 голосов
6 ответов
6th Feb 2018, 2:17 AM
kamalesh vra
how can i calculate the number of students with age > x in sql?
sql
1 голос
4 ответов
26th Sep 2017, 6:34 PM
Mohamed Hussien
Two for loops that reads all num in x rows and y columns
python
0 голосов
2 ответов
8th Jun 2019, 5:57 PM
Marpari
Can variables be manipulated within a print statement? (Python) Like: x = 3 print(x *=3)
operators
python
-1 голос
4 ответов
1st May 2020, 11:08 AM
Megha Suresh
Please help me complete this program to enable me get an output of y int main() { int x = 9; int y = x % 5; x= ; cout<<x*y ;
c++
1 голос
4 ответов
27th Sep 2016, 5:16 PM
Ibim
Can anyone explain why x didn't assigned to zero at the time of 2nd calling??
c++
static
0 голосов
6 ответов
3rd Sep 2017, 8:42 AM
Harsha Sanju
Write a program to take x and y as input and output the string x, repeated y times.
bigners
python
1 голос
7 ответов
9th Feb 2022, 7:36 AM
Forever Knight
Задать вопрос
Задать вопрос
Задать вопрос
Задать вопрос
< Предыдущий
1
...
9
10
11
...
18
Следующий >
Актуальное сегодня
How to use the get() method
3 Votes
Game Dev Path
2 Votes
why is this platform infested with web devs
3 Votes
How to get account back?
1 Votes
So this what I'm trying to solve
2 Votes
PHP Tutorial Idea
1 Votes
Problem whit Javascript
1 Votes
Use Python for string manipulation and sorting.
1 Votes
So how do I create python file and be able to code in it?
0 Votes
How to open the test cases on sololearn I tried so many times with the correct code
0 Votes