Курсы
Курсы
Компилятор кода
Компилятор кода
Обсуждения
Teams
Войти
Регистрация
Menu
Обсуждения
Поиск
Поиск
Задать вопрос
Задать вопрос
#include <stdio.h> int main() { int x = 5; if (x<1); {printf("Hello");} }
help
0 голосов
2 ответов
15th Dec 2019, 2:33 PM
Avantika Nagrale
def proc(x): return 2*x*x def main(): x = 10 proc(x) print(x) print(proc(x))
python3
-1 голос
2 ответов
22nd Jun 2021, 10:44 PM
Al-hassan Rabi'u
print( x + '.'). What is this symbol ('.') refers to?
python
variables
-2 голосов
1 ответ
30th Jan 2017, 7:25 AM
Fandi Prawira Kusuma
Fill in the blanks to declare a variable, add 5 to it and print its value. >>> x = 4 >>> x = 5 >>> print
python
-1 голос
1 ответ
7th Nov 2018, 4:07 PM
Petar Shutkin
int main() { int b = 5; int arr[b] = {11, 35, 62, 555, 989}; int sum = 0; for (int x = 0; x < 5; x++) { sum+=arr[x]
arrays
c++
0 голосов
4 ответов
13th Nov 2016, 4:54 PM
prashanth jerry
JS: if var x = 5; var y = --x+x++; alert (y), What will be output & how?
code
codeplayground
developer
help
javascript
js
math
variables
6 голосов
4 ответов
11th Aug 2017, 6:20 PM
Tahir Usman
is there any way to create a variable from a command in python? Example: x = while, x(True):
python
python3
6 голосов
5 ответов
24th Apr 2018, 11:07 PM
ArTombado
How do I get the x and y of a click using javascript?
html
javascript
0 голосов
1 ответ
4th Dec 2019, 6:01 AM
Lemonades For Sale
What is the code for finding the number of times the minimum value appears in an array x
c
0 голосов
7 ответов
13th Mar 2021, 1:03 AM
Jayasudha selvan
Why are we get output x when run our program? [our program is char c=120; printf("%c",c);]
c
3 голосов
3 ответов
18th Apr 2020, 5:59 PM
Rudra
def add_numbers(x, y): total = x + y return total print("This won't be printed") print(add_numbers(4, 5))
functions
0 голосов
3 ответов
31st Jul 2019, 4:01 AM
Dhyey Badheka
c = 0 for x in range(10): for y in range(5): c += 1 print(c)
python
-1 голос
3 ответов
12th Jun 2021, 5:51 AM
Deepak Murmu
Hi guys see the code plz when I add ".value" to the x it doesn't work why??
code
js
0 голосов
7 ответов
14th Aug 2018, 8:42 PM
Sina
how to represent any whole number in python? Say if x == any whole number print(x)? How to represent this?
python
2 голосов
8 ответов
29th Jun 2020, 9:19 PM
3.14
for n in range(2,10): for x in range(2,n): if n%x == 0: print(n,'is',x,'*',n//x) please interpret this
functions
0 голосов
4 ответов
30th Dec 2019, 4:13 PM
Desmond
Fill in the blanks to make the background image of the element 100 x 100 pixels in size. Also, set the opacity of the element to
css
css3
1 голос
12 ответов
5th Jun 2017, 10:30 PM
karim Saou
Why when i put a img tag on the browser i see a x and not the image?
img
1 голос
9 ответов
6th Jul 2017, 1:52 PM
Ahmed Gad
Does the addition of a colon after x mean the meaning of loop enhancement?
arrays
loops
0 голосов
2 ответов
21st May 2019, 9:10 AM
郭超桦
Who knows what is the function of x y on svg tag please help
svg
1 голос
2 ответов
5th Apr 2018, 2:16 AM
Densey
Web -How to rotate an image / div x deg every time this button is clicked?
90deg
code
css
html
image
image-editor
javascript
rotate
2 голосов
2 ответов
29th Jun 2019, 4:53 AM
Ginfio
how to retrieve column wise data from list, eg 2nd column from x x = [ [1 , "vimal" , 1111] , [2 , "abhi" , 2222] , [3 , "ray
python
0 голосов
2 ответов
13th Aug 2020, 2:17 PM
Ritik Sengar
int x = 8 int y = 15 (x what will be here y)
c#
cs
0 голосов
2 ответов
27th May 2018, 7:16 AM
Running in the 90s
Guys what will be the value of x if m=10 and x=++m + m++ ? Explain also ?
postfix
prefix
1 голос
6 ответов
14th Feb 2019, 7:58 AM
Nihal Sharma
Can I use x = 2 and x= 3 both the values in one code
javascript
variables
0 голосов
2 ответов
4th Sep 2021, 4:12 AM
Movie Time
“Write a program to take x and y as input and output the string x, repeated y times” Help
python
2 голосов
4 ответов
5th May 2022, 5:42 PM
Kieran Vandenberg
Why is 1 or 0 when i put x%=2 and my variable x i set 2 or another pair number
python
python3
1 голос
5 ответов
3rd May 2020, 6:21 AM
Deysi Lucero Puscan Remon
Please, explain how x is a local variable and where my defined function is wrong??
from
python
remove
string
vowels
1 голос
4 ответов
4th Nov 2017, 4:34 AM
Abhinav
Discussion: the fact this tutorial is done with x and not i is wrong!
c#
loops
-2 голосов
5 ответов
28th Aug 2016, 3:43 PM
Omri Yeshaya
let size = 8; let board = ""; for (let y = 0; y < size; y++) {for (let x = 0; x < size; x++) { if ((x + y) % 2 == 0) {
javascript
1 голос
2 ответов
21st Nov 2019, 7:42 AM
Charles $now
can i use float x in function vab() insted of double how???
methods
0 голосов
1 ответ
13th Jul 2018, 3:04 PM
VAIBHAV BOROLE
The symbol s and the natural number n are given. Print a square of s characters with size n x n.
c++
0 голосов
11 ответов
3rd Nov 2020, 5:13 PM
Ruslan
Queria introducir un numero x teclado e informar si el ultimo digito es igual al primer dígito?
c++
1 голос
6 ответов
28th May 2018, 1:38 AM
Liliana Soruco Patty
Are there effective methods for memorizing? If so, share your methods.
=
int
int()
new
x
5 голосов
3 ответов
30th Jun 2019, 3:42 PM
Fsg So
If x=8 and y=7 then x++ then x+=y-- value of x comes 16 but how???
.
0 голосов
2 ответов
16th Dec 2021, 8:36 PM
Deep Vachhani
It there another way, to get x to the power of y, by Math.pow(x, y)
javascript
math
pow
3 голосов
2 ответов
13th Nov 2016, 10:46 PM
Sjoerd Flameling
for i in (1..10) puts i x=0 x+=i puts x end #can anyone explain the output here
loops
ruby
1 голос
6 ответов
11th Sep 2017, 1:45 PM
Abeer Mahmood
Python: How should we interpret 'lambda x:not any(p in x for p in ['
#x27;,'%'])'?
iterables
python
0 голосов
1 ответ
17th Sep 2020, 6:57 PM
Solus
What are the values to i, x and y after completing the code segment?
ASAP
c++
help
question
0 голосов
3 ответов
6th Apr 2017, 3:13 AM
Matthew Brittan
Running Mac OS X on VirtualBox on a Windows Computer for Swift
macosx
swift
virtualbox
xcode
0 голосов
1 ответ
28th Nov 2018, 5:52 PM
Hunter Reece
Jungle Camping Coach Code test case 3 x and Idk why so can someone check it please
python
0 голосов
4 ответов
23rd Sep 2022, 4:04 PM
Mohamed Hassan Hassan
Can anyone explain this java statement and the value of x after evaluating::- where int x=4
functions
increment
java
operators
1 голос
2 ответов
17th Jul 2018, 5:11 PM
Neha Dhar
Заданий двовимірний масив N x N. Визначити мінімальний та максимальний елементи масиву та їх суму
masiv
1 голос
2 ответов
26th Jun 2018, 11:26 AM
Андрей Ковальчук
X=5,y=6 then what value of x and y will be used in int c= x+++y+++x,
increment
0 голосов
2 ответов
22nd Oct 2017, 3:29 PM
Shashank shekhar
#include <stdio.h> void main() { float x = 0.1; if (x == 0.1) printf("Sanfoundry"); else printf("Advanced C Classes"); }
c
c++
2 голосов
3 ответов
16th May 2020, 12:56 AM
𝒱𝑒𝓃𝑜𝓂𝑜𝓊𝓈
Good night, as the formula for the table would be, is that it has to be as follows x = 0 + 0.2 and following x = 0.2 + 0.4
java
loops
0 голосов
2 ответов
10th May 2021, 12:41 AM
Astrid
Why doesn’t this work when i use decimals for x ?(Double for 31 days calculator)
31
calculator
days
double
0 голосов
2 ответов
22nd Nov 2020, 2:15 AM
Jonathan Klein
float(9**x) == 9**x = True , if x <= 16 but False if x> 16 why?
python3
type-conversion
1 голос
2 ответов
18th Dec 2019, 5:05 PM
Ankur Singh Oli
I want this function to take value x and return 00X but it didn't work why please?
js
0 голосов
3 ответов
29th Dec 2020, 2:13 PM
Abbakar_ah!!!
Why do In-place operators allow you to write code like 'x = x + 3' as 'x += 3'?
operators
1 голос
2 ответов
14th May 2018, 11:49 AM
Jujar Panesar
Помогите с практикой
(2*x)
=
=
=
input()
input()
print(x)
x
x
y
-2 голосов
2 ответов
18th Nov 2020, 11:31 PM
Михаил
Задать вопрос
Задать вопрос
Задать вопрос
Задать вопрос
< Предыдущий
1
...
10
11
12
...
18
Следующий >
Актуальное сегодня
How to use the get() method
3 Votes
Game Dev Path
3 Votes
How to get account back?
1 Votes
why is this platform infested with web devs
3 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