Cursos
Cursos
Compilador de Código
Compilador de Código
Debatir
Precios
Teams
Iniciar sesión
Registrarse
Menu
Sesiones de PyR
Buscar
Buscar
Haz una pregunta
Haz una pregunta
pls help me understand this code and how did i get 1 as answer.if i edit vue of y result is 0
c++
0 Votos
4 Respuestas
27th Jun 2017, 4:58 PM
Anonymous Guy
In the problem Paint costs i wrote this code. Is there any error as it shows 1 case has failed.I don't understand pls explain
codeplayground
interpreter
python3
2 Votos
2 Respuestas
14th May 2020, 3:44 PM
Ayushman Dash
Please, can somebody explain to me why this prints a list with both 1 & 2 in it instead of just 1in the list?
python3
0 Votos
2 Respuestas
6th Apr 2019, 4:31 AM
Thimira Rathnayake
How can I make my first Java code work? I'm only level 2 but I want to make a countdown from 5 to 1 with an exclamation.
2
countdown
if
java
level
statement
string
0 Votos
5 Respuestas
23rd Mar 2020, 3:29 AM
Johnna Boots
Given two numbers X and Y, write a function that: 1 returns even numbers between X and Y, if X is greater than Y else it returns
(x
{
=
=>
const
myfunction
return
x*
y;
y)
-4 Votos
5 Respuestas
5th Oct 2018, 8:24 PM
ohwo oghenekaro
I'm using multiple button in LinearLayout for Quiz but on 1 only button should be clickable or disabled in same layout.
android
button
java
0 Votos
2 Respuestas
7th May 2020, 9:54 PM
Gorishankar
I m a begginer so plz tell me something about how can i learn C language with in 1 month ? Please...
c
c++
0 Votos
4 Respuestas
30th Jun 2017, 5:06 PM
khantil sanghani
Why does the countdown start on 3 when the print says i = i - 1 if i = 3?
loops
python
0 Votos
3 Respuestas
21st Jul 2016, 9:47 AM
Daniel
Average time it takes you to develop a basic 5 page / 1 page layout website from scratch (from design, develop to launch)
c#
css
html
javascript
php
website
2 Votos
1 Respuesta
1st Sep 2018, 8:02 AM
Preston Tshabalala
Hi guys i tried this code coach called Argentina but 2 test cases was wrong and 1 test was able to see so i did the same code
python
1 Voto
3 Respuestas
11th Mar 2022, 1:51 PM
Mohamed Raaid
what language can I use the binary
0
1
binary
scripting-languages
-1 Voto
3 Respuestas
6th Aug 2017, 6:05 PM
Storm
Write C++ code to accept input and add integers from 1 to 10 and print their sum.
c++
0 Votos
1 Respuesta
17th Oct 2017, 5:46 PM
focus
How to assign the numbers 1 to 9 to variables a to i ? Please help ASAP
code
math
variables
0 Votos
1 Respuesta
26th Aug 2017, 9:46 AM
Satyam Premi
I have an issue about sum of n inputed numbers and sum of 1 to n numbers
c++
loops
0 Votos
1 Respuesta
24th Nov 2016, 7:04 PM
Darshit Desai
Suppose i have a code and i run more than 1 time ,every time i am getting different running time why?
running
time
0 Votos
2 Respuestas
27th Mar 2018, 2:07 PM
Bahubali
Please help me with this game, the level is increasing. 🙏🙏🙏 I want it to increase by 1 each time the ball is empty. Thanks
canvas
javascript
0 Votos
3 Respuestas
19th Jul 2020, 10:42 AM
Abat
I need help.I am working with desktop app in pyqt5. Have several issues - wrong function counting EEG signals per 1 sec-need cou
urgently
1 Voto
3 Respuestas
16th Apr 2020, 11:59 AM
Akinbami Felix Akintunji
Write a C# console application program that will prompt the user to 1-3. Enter their name, lucky number 1 and lucky number 2
help
0 Votos
2 Respuestas
20th Oct 2022, 8:35 AM
Ecnerual23
There was a set of cards with numbers from 1 to N .One of the card is now lost .
python
0 Votos
1 Respuesta
8th Feb 2019, 8:45 AM
周志桓
Boolean logic 2 for python core. Create a program that outputs whether a store is open or closed. I got all test cases except 1
boolean
case
help,
hidden
logic
test
0 Votos
3 Respuestas
2nd Jan 2022, 5:08 PM
Jamison McKinney
PLEASE VIEW MY CODE IN COMMENT SECTION. Can anyone edit it so i could enter the name of horse 1 horse 2. I want to cout and cin.
beginner
c++
cin
classes
cout
cpp
loops
opp
0 Votos
8 Respuestas
21st May 2017, 3:51 AM
eiro Jan
A string value containing more than 1 word is passed as input to the program itmust print all the words starting with letter 't'
python
0 Votos
4 Respuestas
2nd Sep 2018, 11:54 AM
bharath
Python Maths Quiz - how to make sure random Num 1 is larger than Num 2 & number of loops = user input
maths
python
quiz
1 Voto
2 Respuestas
9th Nov 2019, 5:11 PM
SWL
How many numbers does this code print? i = 5 while True: print(i) i = i - 1 if i <= 2: break
python3
0 Votos
2 Respuestas
21st Sep 2018, 2:01 AM
Mohamed Ramadan El Geneidy
Make a Number puzzle by using 1 to 9 numbers without repetition and the sum of three boxes will be only 15. Use 9 boxes.😉😉😎😎
generator
puzzle
2 Votos
2 Respuestas
23rd Jun 2018, 2:22 AM
Chandu Vadde
How can i create 2 link to act upon 1 button. In a way that if a user clicks the button, it will run two links at once.
ahref
functions
html
php
reference-types
xhtml
0 Votos
5 Respuestas
27th Jul 2020, 2:54 PM
henry okafor
I entered only 1 number instead of 5 and got output as 5*number.. instead I should have got only the number . please clarify
c++
loops
0 Votos
5 Respuestas
1st Aug 2016, 2:14 PM
RB Vijey Shankar
You need to make a program for a leaderboard. The program needs to output the numbers 1 to 9, each on a separate line,
\n
code
in
phython
-1 Voto
3 Respuestas
24th Jun 2021, 5:38 PM
Lavesh Lingayat
someone can help me I can not advance in the challenge 1 of the question of how to center the text help please
html
2 Votos
3 Respuestas
1st Oct 2017, 2:04 AM
ronny aguilar
Leia um valor inteiro entre 1 e 12. Correspondente a este valor, deve ser apresentado como resposta o mês do ano por extenso,
1
12.
a
correspondente
e
entre
este
inteiro
leia
um
valor
valor,
0 Votos
2 Respuestas
14th Apr 2023, 10:35 AM
Ailer Pimentel
Here the output is 0, but why not 1 ? is the scope of variable 'a' ends with the method ..?
increment
java
methods
0 Votos
2 Respuestas
14th Dec 2018, 4:43 AM
Sharief
Please i need someone to help me explain this code from line 1 to the last line. I just came across it but i don't understand it
programming
python
2 Votos
2 Respuestas
5th Apr 2020, 10:32 AM
Okonkwo Emeka
when i run my code suppose with input 1 then from 0 to 10 output is correct but i get 11 th value as garbage value! why so??
c++
garbag_value_problem
1 Voto
7 Respuestas
10th Jan 2017, 7:40 AM
Md Shaifan Shahid
If opponent doesnot play code in 1 day, then will we win the match or the match will draw? Or both will not get XP?
code
learn
play
sololearn
2 Votos
2 Respuestas
6th May 2020, 5:07 PM
Santosh Kumawat
How can write program to calculate multiplication table for any number start from 1 and end for the number enter by user
c++
1 Voto
3 Respuestas
28th Mar 2017, 5:43 PM
Bts...
Write a C program using functions to calculate and display the sum of numbers from 1 to 5 and the product of numbers from 5 to
c
1 Voto
3 Respuestas
25th Feb 2022, 3:23 AM
Hoseok
I am a student.i want to learn JavaScript.If i give 1 hour a day how many days or year require to learn that?
javascript
0 Votos
3 Respuestas
10th Jul 2018, 7:09 AM
Sheak Salauddin Khaled Rasel
I am looking to start my own web design business, it's going to a 1 man show. Is python hard to use as a front end prog language
python3
web
2 Votos
6 Respuestas
30th Jul 2017, 9:26 PM
James Barrow
The output is string. Anyone knows how can I get output in int? I want to divide 1 by "Output".
int
output
python3
strings
0 Votos
1 Respuesta
3rd Oct 2020, 3:21 AM
MR Jey
You are making a program for a chess tournament that needs to calculate the points earned by a player. A win is worth 1 point,
c#
cs
0 Votos
2 Respuestas
26th Jan 2024, 9:37 PM
Rosa Vo
Drag and drop from the options below to create a LinkedList, add "Hey", and print it. <String> list = new LinkedList ();
"bye"
"hey"
<string>
0
1
arraylist
linkedlist
solutions
0 Votos
4 Respuestas
6th May 2018, 1:12 AM
Asem Abdu Ahmed AL jadwh
how can I break a line as line 1 & line 2 of address column while inserting values in table ?
insert
sql
tables
-1 Voto
4 Respuestas
8th Jul 2016, 2:58 PM
Mohan pochampalle
Random int generator + if / else if / else ) 1 through 5 . .. always returning false .. why??
if-statements
math
-1 Voto
4 Respuestas
23rd Feb 2017, 5:04 PM
Sonny mbiam
I wants to count total ( 1 ) number present in the given length. This program is only from 0 to 100. But I wants upto 10000.
c
0 Votos
4 Respuestas
4th Mar 2020, 5:38 PM
Vishwesh Patel
Hello guys some one help me explain this while loop x = 1 while x < 10: if x%2 == 0: print(str(x) + " is even")
python3
1 Voto
3 Respuestas
10th Aug 2020, 8:08 AM
Akatwijuka Allan
I would calculed the sum the 1 to 10 by for in php,this code is true or false?
php
0 Votos
2 Respuestas
3rd Mar 2017, 6:37 AM
lahcen dabouz
What is the difference between Java and C++, with syntax and which 1 would you choose and why?
arrays
java
0 Votos
2 Respuestas
26th Feb 2017, 4:39 PM
Vincent Kabini
Find the sum of first ten natural number 1 2 3 ...10 but the I m getting error please help thanks u
c++
1 Voto
3 Respuestas
19th Oct 2016, 7:17 PM
kevink mahadeo
Well I did it ..but I don't understand why it print 5 ..not 1 at the end ..and also why don't it print finished at the end
python
1 Voto
4 Respuestas
22nd Jul 2018, 10:04 AM
Deesha Devi Raghu
How I can make a list or some type of this from 1 to 50 to don't write all 1,2,3,4...
lists
python
range
1 Voto
2 Respuestas
28th Jun 2016, 5:08 PM
Xenonium Oxygen
Haz una pregunta
Haz una pregunta
Haz una pregunta
Haz una pregunta
< Anterior
1
...
35
36
37
...
41
Siguiente >
En tendencia hoy
Fix code
0 Votes
I can't figure out how to use the getElementById code in JavaScript Code Playground, I've tried multiple times and watched YT
0 Votes
..
1 Votes
Fast coding (mobile)
1 Votes
How can I turn my .py files to .exe files?
1 Votes
Software to write and run codes
1 Votes
Add lua
0 Votes
Beginner_to_SoloLearn
1 Votes
How to learn C++ and how long does it take
1 Votes
Summary please??
0 Votes