Cursos
Cursos
Compilador de Código
Compilador de Código
Debatir
Teams
Iniciar sesión
Registrarse
Menu
Sesiones de PyR
Buscar
Buscar
Haz una pregunta
Haz una pregunta
How to explain ds. int x = 1; int y, result; y = x; x++; result = y + x; result += x;
int
1 Voto
3 Respuestas
8th Oct 2019, 1:03 AM
Arvien Albios San Miguel
Who knows what is the function of x y on svg tag please help
svg
1 Voto
2 Respuestas
5th Apr 2018, 2:16 AM
Densey
int x = 8 int y = 15 (x what will be here y)
c#
cs
0 Votos
2 Respuestas
27th May 2018, 7:16 AM
Running in the 90s
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 Votos
5 Respuestas
28th Jul 2019, 4:18 AM
Ginfio
What are the values to i, x and y after completing the code segment?
ASAP
c++
help
question
0 Votos
3 Respuestas
6th Apr 2017, 3:13 AM
Matthew Brittan
Is there anyway to print var x & var y on different lines?
objects
1 Voto
1 Respuesta
6th Sep 2017, 8:51 AM
Adrija Ray Chaudhuri
c = 0 for x in range(10): for y in range(5): c += 1 print(c)
python
-1 Voto
3 Respuestas
12th Jun 2021, 5:51 AM
Deepak Murmu
I want create a list that contain all x and y element, but what is my fault?
phyton
1 Voto
7 Respuestas
27th Jun 2020, 7:31 PM
Abbakar_ah!!!
What the process going on to printing the value 1 . Not(not x or not y and x or not y)
cpp
sololearn
0 Votos
1 Respuesta
16th Sep 2020, 12:05 PM
Suparna Podder
def add_numbers(x, y): total = x + y return total print("This won't be printed") print(add_numbers(4, 5))
functions
0 Votos
3 Respuestas
31st Jul 2019, 4:01 AM
Dhyey Badheka
X=5,y=6 then what value of x and y will be used in int c= x+++y+++x,
increment
0 Votos
2 Respuestas
22nd Oct 2017, 3:29 PM
Shashank shekhar
Didnt understand the second fornatted string code. Console.WriteLine("x = {0}; y = {1}", x, y); Why x & y is 0 & 1?
c#
output
1 Voto
3 Respuestas
18th Aug 2017, 12:39 PM
Akhi Jetra
Rewrite so that it uses pennies for all calculations.Code to round x to closest penny and put in in y is y = (long)Math.round(x)
java
1 Voto
3 Respuestas
9th Feb 2019, 4:00 AM
czarina smsn
Write a program to take x and y as input and output the string x, repeated y times. Sample Input hi 3 Sample Output hih
esvar
0 Votos
3 Respuestas
31st Mar 2022, 1:41 AM
Chabolu Dharaneesvar
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 Voto
2 Respuestas
21st Nov 2019, 7:42 AM
Charles $now
Why the answer is 1;; bool x =false; bool y =false; if (x&&(y=true) c.w 1
crasy
1 Voto
2 Respuestas
14th May 2017, 5:26 PM
Mate M
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 Votos
4 Respuestas
11th Aug 2017, 6:20 PM
Tahir Usman
why in the postfix increment , x increases and y equals " old x" , even if the equals x after increment?
c#
operators
0 Votos
2 Respuestas
19th Aug 2016, 7:58 PM
Omar Hossam
Count the number of bits needed to be fipped to integer x to generate integer y
progress
2 Votos
1 Respuesta
19th Jul 2022, 3:16 PM
Ayushi Jaiswal
Can we draw a x and y axis with using astric symbol instead of that line
loops
0 Votos
3 Respuestas
9th Jun 2019, 5:37 AM
Charan Kumar
class Vector2D: def __init__(self, x, y): self.x = x self.y = y def __add__(self, other): return
magic-methods
python
1 Voto
2 Respuestas
1st Nov 2016, 11:53 PM
Sam Akin
Fill in the blanks to use the generic method Func for the x and y variables:
blanks
fill
for
func
generic
in
method
the
to
use
-1 Voto
2 Respuestas
7th Dec 2018, 6:10 PM
Danish Ullah
error. x % y - это остаток от деления. 7 % (5 // 2) = 0.5
numeric-operations
python
0 Votos
3 Respuestas
22nd Aug 2016, 4:37 PM
Дмитрий
fill in the blanks to declare a class point with a constructor initializing its x & y members
a
blanks
class
declare
fill
in
point
the
to
with
0 Votos
3 Respuestas
4th Apr 2020, 3:38 AM
MARIO PEREZ SALAZAR
Why There are only two asterisks (**) between x & y in exponentiation if Python ?
exponentiation
python
0 Votos
2 Respuestas
27th Feb 2017, 6:18 PM
Nirmal Kakati
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 Voto
8 Respuestas
12th Mar 2024, 7:31 AM
P A Arrchith Iyer
Write a program to take x and y as input and output the string x, repeated y times. Sample Input hi 3 Sample Output hih
python
0 Votos
1 Respuesta
30th Dec 2022, 11:26 AM
X Gamerz
Evaluation Order Please , not 1 + 1 == y or x == 4 and 7 == 8:
python3
2 Votos
2 Respuestas
13th Jul 2022, 4:42 PM
Konda Sandeep
What will be the content of y and z after executing the code given below: int y=10, z=2; for (int x = 1; x <= 10; x=x+2)
javascript
0 Votos
3 Respuestas
2nd Aug 2020, 6:20 AM
Biswajit Sarkar
I have question, why int(input()) why? Like i get question x = int(intput()) y = int(input()) why ?
why
0 Votos
3 Respuestas
8th May 2021, 11:09 PM
BG Plays
r = lambda a : a + 15print(r(10))r = lambda x, y : x * yprint(r(12, 4))
python
0 Votos
1 Respuesta
29th Dec 2020, 7:34 AM
Kevin Esmero
How to display the integer that appears the most in an array? Display as”the number x appears y times”...
arrays
csharp
low
support
0 Votos
5 Respuestas
27th Nov 2018, 11:49 AM
Sahan Edirisooriya
In function a() why is x and y have the exact same output, can anyone explain the logic?
javascript
2 Votos
2 Respuestas
24th Mar 2017, 9:34 AM
John Watson
Алгоритмизация и программирование последовательных вычислительных процессов
q
x
y
z
0 Votos
2 Respuestas
24th Nov 2017, 9:44 AM
Zokir
A little help guys, How do i get this working. The program should prompt the user x + y
java
1 Voto
2 Respuestas
13th Jun 2019, 8:47 PM
Tumi Sibiya
someone help me i have a problem this code already put x = y and will not
=
a
already
and
code
have
help
i
me
not
problem
put
someone
this
will
x
y
0 Votos
1 Respuesta
19th Dec 2020, 7:20 PM
gleicielle camargo
What is wrong?? x =int(input("please put number")) y =int(input("please put the second one")) if x+y>0: print("positive number"
phython
0 Votos
2 Respuestas
21st Jan 2018, 8:17 AM
Mahmoud Essam
how i can change type of float to the integer in this code,,,,,,,, x = 9 y = 3 print (x/y)
change
python
type
1 Voto
4 Respuestas
12th Jun 2023, 10:43 AM
Amirhossein
Var x = '2*2'; var y = 4 ; var z = eval(x+y) ;alert(z); why the answer =48 ? Can anyone explain it?
javascript
2 Votos
2 Respuestas
4th Feb 2020, 12:20 PM
Ibrahim Idrees
def add_numbers(x, y): total = x + y return total print("This won't be printed") def gsc(): z=(add_numbers(4, 5)
function
python3
1 Voto
2 Respuestas
4th Feb 2018, 3:44 PM
Gaurav Singh
what is the problem in this code???
If
int(input())
x
x+y>0
y
1 Voto
6 Respuestas
20th Jan 2018, 11:15 PM
Samuel Antoine
I'm trying to make a function for the extended euclidean algorithm, but the values of x and y never change
c++
euclid
functions
recursion
1 Voto
4 Respuestas
9th Jun 2017, 6:15 AM
Catalin Dervesteanu
what is the meaning of this x = {0}; y = {1} to be the output 10 and 20
c#
output
1 Voto
1 Respuesta
28th May 2018, 3:45 PM
ahmed siddiq
public class Program { public static void main(String[] args) { int x = 34; int y = ++x; int z = x+y
operators
1 Voto
5 Respuestas
30th Oct 2019, 9:09 PM
Daniel
So i understand that x++ is changing the vafiable after it is used and ++x before. But in the example of x = 5 y = ++x Why does y not equal 6 when x gets changed before use.
c++
operators
0 Votos
2 Respuestas
16th Sep 2016, 3:41 PM
sam
why we r using different variable lik cx cy fr circle.. x y fr rect and x1 y1 fr line???
html
html5
svg
2 Votos
3 Respuestas
8th Jun 2016, 3:21 AM
Govindhrazz Allu
Why it is necessary to put "+"after x and before y to display correct output. Via writeLine method ?
c#
operators
1 Voto
2 Respuestas
10th Dec 2016, 4:39 AM
Zeen
Debug this function so that it deletes all occurrences of y in array x (whose length is n)
cpp
-1 Voto
1 Respuesta
15th Mar 2021, 3:25 AM
Jayasudha selvan
How do I make it know what x is and what y is so it can tell that we drew?
challenge
dice
die
game
help
question
roll
x
y
2 Votos
2 Respuestas
26th Jan 2018, 2:19 PM
Raphael Shay
What will be the values of x and y after execution and how many times the loop will execute? Can someone explain step by step?
loops
-1 Voto
6 Respuestas
26th Feb 2018, 6:42 PM
Sarbjot Kaur
Haz una pregunta
Haz una pregunta
Haz una pregunta
Haz una pregunta
< Anterior
1
2
3
4
5
Siguiente >
En tendencia hoy
Countdown Test
1 Votes
diary
1 Votes
Could anyone fix this?
0 Votes
how do i create a code
0 Votes
web application with java, spring boot
1 Votes
Fitting
0 Votes
Pro but still no unlimited hearts and advertisements.
0 Votes
Leecode?
2 Votes
How to hack public wifi
0 Votes
Module quiz not opening
1 Votes