Cours
Cours
Compilateur de code
Compilateur de code
Discuter
Équipes
Se connecter
S'inscrire
Menu
Discussions Q&R
Chercher
Chercher
Poser une question
Poser une question
Is it possible to generate a random String between 1 and 3 in Python?
python3
0 Vote
1 Réponse
11th Jan 2018, 6:14 PM
Xontus
Def a function and pass 2 lists.. Print true if both the list have at least 1 common element?
phython
2 Votes
6 Réponses
26th Nov 2020, 8:42 AM
Mohammad Shireen
d = {k:v for k, v in ('a1', 'b2')} d['a1'] = 1 d['b2'] = 2 print(d) print(len(d))
confused
doubt
python
0 Vote
2 Réponses
28th Aug 2021, 2:34 PM
Akash Yadav
How To Put a Trap Invalid Selection That limits Choices from 1 to 2
java
0 Vote
1 Réponse
26th Nov 2018, 1:44 PM
Lorenze Saledain
there are eclipse mars 1 and mars 2 are available. which one should choose?
eclipse
java
0 Vote
1 Réponse
31st Dec 2016, 12:06 PM
Mohit Jadhav
Program that print 2 to the power of N when N goes from 1 to 100.
python3
2 Votes
2 Réponses
8th Jun 2017, 3:44 PM
Talia Pacelli
When the programing is 1==(1 or 2) the output is true. But instead of 1 i gave 0, and 2 i gave 1 the output is false. Explain.
operator-precedence
python3
scripting-languages
2 Votes
3 Réponses
2nd Sep 2019, 3:42 PM
HEMANT KRISHNAN
I really do not understand what 3 1 3 has to do with the document and how we arrived at it. Can someone help me understand that, please?
dom
javascript
6 Votes
5 Réponses
15th Jul 2016, 11:41 PM
Lawrence Ainetor
Does their free python course is python 3 or python 2 can some one please tell me
python
1 Vote
3 Réponses
24th Feb 2024, 12:13 PM
Mohammed Mishhal
Can anyone say me about the major difference between Python 2 and Python 3
cpython
python
python3
0 Vote
1 Réponse
27th Dec 2017, 2:26 PM
Kiruthika Ns
Using return 0 or 1 or 2 to close main function giving same result why?
c++
2 Votes
1 Réponse
27th Oct 2017, 2:48 AM
Shubham Sharma
What is wrong with this code please:n = 100 i = 1 while i <= n: if i % 2 == 0: continue print(i) i+=1
christian
huml
2 Votes
15 Réponses
13th Mar 2022, 1:56 PM
Lean R1
Help me to learn SPA , I can to Button function to page 2 and page 3 🙏
javascript
2 Votes
2 Réponses
24th Oct 2022, 12:26 PM
Zulpakar
how python calculation this code i not understand why when i put (block 2 the height is 1) or (block 3 the height is 2 i) help p
python
python3
0 Vote
5 Réponses
16th Feb 2019, 4:26 PM
Ariel Shenker
Why in the first case outputs 3 numbers after ".", And in the second 2 numbers after "."
formatting
python
python3
0 Vote
5 Réponses
30th Apr 2019, 11:42 AM
Cloudtamer
What are the differences between python 2 and python 3 ? And key words please...!
python-2
python3
0 Vote
2 Réponses
7th Mar 2018, 4:44 PM
Jagadeesh Kumar Nasina
Why is 1 or 0 when i put x%=2 and my variable x i set 2 or another pair number
python
python3
1 Vote
5 Réponses
3rd May 2020, 6:21 AM
Deysi Lucero Puscan Remon
Write a program in c to find the number and sum of all integer between 1 and 50 which are divisible by 3
plz
-2 Votes
5 Réponses
31st May 2021, 5:43 AM
Anick Chandra Das
Develop code that has 3 numbers that those 3 numbers appear randomly to make 1 set of 17 and the sets do no repeat
cpp
1 Vote
2 Réponses
29th Aug 2017, 7:07 AM
Divyesh
In Python 3 Why the output is 0 but not 1 when I have this?
break
python3
0 Vote
2 Réponses
30th Nov 2017, 4:59 AM
Yinhao Chen
Where am I wrong? I expect when n= 3 output be 1, when n=2 I get 2
kamama
0 Vote
3 Réponses
18th Jul 2022, 5:08 PM
Samuel Kamama
I had posted this question earlier and now only 1 answer out of 2 is appearing. Why?
answers
invisble
posts
sololearn
1 Vote
2 Réponses
7th Nov 2018, 10:34 AM
B.D
How to create login form and adding task features like , option1 option 2 option 3
java
-1 Vote
2 Réponses
27th Apr 2022, 3:12 PM
MUKHETHWA Magadani
Use a loop to calculate the sum of all numbers that are a multiple of 3 in the range of 1 to 1000. A number is a multiple of 3
12.2
r
0 Vote
3 Réponses
30th Dec 2021, 5:59 PM
Hector Torres
int num[8]={1,2,3} then what the value of num[6]? option a) garbage value b) 2 c) '1 d) 3
c
2 Votes
3 Réponses
19th Jun 2020, 2:43 PM
shree mundhe
how to code for g.c.d of 2 numbers? like g.c.d of 12 and 67 is 1
python
tuples
1 Vote
2 Réponses
20th Sep 2016, 10:16 AM
AKHILESH VVN
The team won 18 games and ended 7 games as a draw. A win brings 3 points, a draw brings 1 point
python3
-2 Votes
7 Réponses
20th Oct 2021, 2:07 PM
EVANS MBONGO
Program for Calculating - (Any 4 from 6) (Any 3 from 6) (Any 2 from 6)
-
(any
2
3
4
6)
calculating
for
from
program
-1 Vote
2 Réponses
22nd Sep 2019, 1:48 PM
Anthony.R.Brown
Why there is 3 lines in the output for this code? I want only 2 lines ? Pls help
python
0 Vote
6 Réponses
5th Feb 2022, 9:46 AM
ZIZO Abd alkawy
How to learn full stack web development in a short time? 1 or 2 months
application
full-stack
website
0 Vote
1 Réponse
9th Jul 2019, 6:25 AM
Vikneshwara R B
how to count number of 1's in column 1 and column 2 in a single row
sql
1 Vote
2 Réponses
24th Oct 2016, 7:41 PM
yamnoor hiragannawar
How to create 1 2 4 7 11 16 22 ...... <=100 pattern in python only using while repetition
loops
python
while
0 Vote
3 Réponses
15th Jun 2022, 1:56 PM
NINJA YT
Is it possible to learn JAVA without any tutor in 1 year spending 2 hours per day? If so, can you please share best sources?
class
10 Votes
31 Réponses
11th Oct 2017, 12:40 PM
Shohrux Umurzakov
Дано вещественное число — цена 1 кг конфет. Вывести стоимость 1.2, 1.4, … , 2 кг конфет.
c#
1 Vote
1 Réponse
20th Mar 2018, 6:17 AM
Виктория
if a= 3 b= 2 b= a++ then cout of ++b will be what and how?
c++
0 Vote
3 Réponses
18th Jun 2016, 5:11 PM
SaiKrishna Swarna
Trying to solve the popsicles problem but it's showing test case 1 green and 3 and 5 red what do I do next to solve the problem
popsile6
3 Votes
19 Réponses
18th Jun 2021, 4:38 PM
Samuel Affah
Please Write a Java program to print the series 2 6 10 14. 3 7 11. 4 8.5
java
0 Vote
3 Réponses
6th Dec 2018, 4:37 PM
Naitik Shah
How much time it will take to learn c++ if I study 2 to 3 hrs a day?
c++
0 Vote
3 Réponses
14th Sep 2021, 4:49 AM
izumi
Why is 1 % 2 = 1? I understand that 13 % 4 = 1 because 1 is the remainder of 13 / 4, but I don't see how the first modulus works. Can someone explain this please?
python
1 Vote
6 Réponses
2nd Oct 2016, 7:49 PM
method
What happens when from 3 variables 2 are useless would jah make a diff in output.
c++
1 Vote
2 Réponses
26th Feb 2017, 6:55 PM
JAY RATHOD
[SOLVED]i have a small issue with this loop.please, why after iterate it ,the result of a[i] is always equals to 2 but not 3 ?
array
for
iterate
java
loop
12 Votes
9 Réponses
25th Jun 2018, 6:03 PM
Hans Larry Mba Bekale
(edited) I want the code to choose 2 numbers such that their product is 4 and sum is 3
python
python3
1 Vote
3 Réponses
13th Oct 2020, 7:30 AM
Okwach Kich
How do i put another id to audio button?( Like it will function 2 elements in 1 button)
html
0 Vote
3 Réponses
27th Mar 2023, 1:38 PM
Zedro
How i can generate number between 2 number a and b, but a have to be diferent to 1
rand
1 Vote
4 Réponses
26th Jun 2018, 9:58 PM
Manuel Gutierrez
What is difference between 1 and 2 and why I am not getting the output in case 2??
c++
-3 Votes
4 Réponses
7th Jul 2021, 8:44 AM
Shahir
i want to ask how to make this program with looping 1 4 3 8 5 12 7 16....100
java
0 Vote
6 Réponses
29th Jan 2017, 2:10 AM
Kurby Lee
How many computer languages existing in computer science?
1
10
2
3
4
5
6
7
8
9
4 Votes
4 Réponses
17th Apr 2019, 12:25 PM
$~James~$
players = ["Alice", "Bob", "Charlie", "David", "Eve", "Frank"] #Create 3 lists with 2 players each #Use slicing to create a lis
help
4 Votes
3 Réponses
30th Nov 2023, 1:19 PM
Payal Agrawal
I create an array obj[2] of 3 objects but constructor is 2 times called only,please guide me
arrayobject
c++
object
0 Vote
2 Réponses
22nd Oct 2018, 3:25 AM
Umar Farooq Anwar
Why does this not give me this 15 beep 14 13 12 11 10 beep 9 8 7 6 5 beep 4 3 2 1 (imagine each one of them is in ligne)
c++
0 Vote
2 Réponses
14th Nov 2022, 5:24 PM
haythem DRIDI
Poser une question
Poser une question
Poser une question
Poser une question
< Précédent
1
...
6
7
8
...
10
Suivant >
Aujourd'hui en vedette
X velocity
3 Votes
And... Who is the staff then?
3 Votes
Files not linking in C++
0 Votes
I want to make a triangle area calculator ,anybody can teach me
2 Votes
Web Dev
1 Votes
Img & web server or personal info
0 Votes
Pls give me an idea
1 Votes
Why Pro?
1 Votes
How to achieve "Sololearner" achievement?
0 Votes
Problem with Javascript
0 Votes