New course!
Every coder should learn
Generative AI!
Try a free lesson
Courses
Courses
Code Compiler
Code Compiler
Discuss
Get Pro
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
Python 3, task Leap year SOLVED
beginners
python3
solution
task
0 Votes
38 Answers
21st May 2021, 6:45 AM
Елена Леващева
Given(not input):- [1, 2, 3, 4, 2, 3] ... Output:- [1, 2, 3, 4]
code
python
python3
2 Votes
14 Answers
25th Feb 2020, 10:12 PM
Suraj Das
print (9**(1/2)), OUTPUT= 3, how?
python3
2 Votes
6 Answers
16th Dec 2020, 10:43 AM
Vashi Khan
kernel_size = [7, 7, 5, 5, 3, 3, 3] How to imagine this kernel?
cnn
deep-learning
kernel
python
pytorch
2 Votes
4 Answers
12th Jun 2021, 5:30 PM
Zhenis Otarbay
pairs = {1: "apple", "orange": [2, 3, 4], True: False, 12: "True", } print(pairs.get("orange")) print(pairs.get(7, 42))
dictionaries
print
python
1 Vote
4 Answers
12th Apr 2021, 4:43 PM
Sandeep
{ 1, 2, 3, 4 {1, 5, 6, 7}, 5, 6, 3, 4}
java
-1 Vote
3 Answers
29th Nov 2016, 2:48 PM
Madhuri Choudhari
k = [[1, 2, 3, 4, 6]]
python
0 Votes
5 Answers
22nd Apr 2019, 10:50 PM
tristach605
nums = [1, 3, 5, 2, 4] print(len('string'))
lists
0 Votes
6 Answers
10th Sep 2020, 1:34 AM
Chahit Bhardwaj
Unity VS Unreal Engine: 3, 2, 1, Fight!!
c#
c++
gameengine
unity
unrealengine
4 Votes
8 Answers
11th May 2017, 6:35 PM
HaxterHuz
list = [1, 2, 3, 4, 6]
python3
0 Votes
1 Answer
12th Apr 2019, 10:16 PM
tristach605
In python 3, why do i get an 8 multiple
answer
confusing
10 Votes
8 Answers
26th Feb 2019, 12:33 AM
Mark
Python 3, need a solution for my code...
python
python3
2 Votes
4 Answers
31st Jan 2018, 6:46 PM
YOK
Conditionals and Loops quiz 3, help explaining the first blank.
conditionals
help
loops
quiz
1 Vote
6 Answers
5th Nov 2018, 9:23 PM
Beat Nik
print(min(1, 2, 3, 4, 0, 2, 1)) print(max([1, 4, 9, 2, 5, 6, 8])) print(abs(-99)) print(abs(42)) print(sum([1, 2, 3, 4, 5]))
strings
0 Votes
4 Answers
25th Aug 2019, 12:52 PM
Rupal Raut
Is it possible to store 2, (5,12)both numbers are together, 3, (5,12), 3, (5,12) in an array in java?, if possible, how?
java
0 Votes
8 Answers
6th Sep 2018, 8:25 PM
Illegal
Sublime Text 3, how run codes in HTML
html5
0 Votes
2 Answers
1st Sep 2019, 5:37 AM
Alexandr Pasko
list = [1, 2, 3, 4] if (list) % 2 == 0 print(list[ ])
python
-10 Votes
10 Answers
23rd Oct 2016, 6:27 PM
pratibha limbole
What is the result of this code? nums = [1, 2, 3, 4, 5] nums[3] = nums[1] print(nums[3])
list
operations
python3
3 Votes
11 Answers
5th Jul 2020, 11:37 AM
Jaagrit Arora
list = [1, 1, 2, 3, 5, 8, 13] print(list[list[4]])
list
1 Vote
3 Answers
12th Feb 2021, 11:20 PM
Tom Clark
Could I use: $VAR = [1, 2, 3, 4]; for arrays
arrays
php
3 Votes
8 Answers
2nd Jul 2016, 11:29 PM
Danila Fedotov
¿por que la respuesta es 6 de: ( -6, 3, 6)?
math
1 Vote
7 Answers
21st Aug 2018, 8:07 PM
Cristhian Javier Ulloa Carmona
Y have error for test 3, 4 and i don't know for why?
c++
if
statements
the
-3 Votes
7 Answers
20th Sep 2021, 8:21 PM
Mona Alidi
mylist = [0, 1, 2, 3, 4, 5, 6, 7] for i in mylist: mylist.remove(i) print(myList) output is [1, 3, 5, 7] Why not removing all
lists
python
1 Vote
5 Answers
4th Dec 2019, 5:32 AM
Sreeraj V A
pairs = {1: "apple", "orange": [2, 3, 4], True: False, None: "True", }
dictionaries
python
3 Votes
2 Answers
23rd Jun 2019, 7:38 AM
Sanduni Ayesha
Why does this fail when I input 3, 2, 1?
c++
cpp
0 Votes
2 Answers
27th Jan 2020, 8:48 PM
Haze
I don't understand result this challenge is 3, help me please!
javascript
5 Votes
4 Answers
19th Sep 2017, 10:55 AM
Trưởng Nguyễn
python 3.7.2 is showing 'syntax error' at line 3, why?
if
1 Vote
2 Answers
17th Feb 2019, 11:24 AM
Dee Pan Kar
What programs C ++, C #, PYTHON 3, JAVA do?
a
be
i
professional
programer
will
1 Vote
3 Answers
17th Mar 2017, 10:07 PM
Bearst
How to get negative values from A = [1,3, -2, 5, -7, -8, 3, 12, "Addy"] using python?
python
3 Votes
20 Answers
18th Dec 2022, 1:05 PM
Pronoy Roy
why does this code give: [2, 3, 5, 56, 7, 8, 4]
python
0 Votes
5 Answers
10th Jun 2021, 1:31 PM
SammE
a++ and ++aa are removed in Swift 3, so...
operators
swift
1 Vote
1 Answer
27th Jan 2018, 5:54 PM
Elena Álvarez
Postfix increment is not supported in Swift 3, isn't it?
swift
swift3
0 Votes
2 Answers
14th Oct 2016, 10:49 AM
Muslim Sattarov
a = {1, 2, 3} b = {0, 3, 4, 5} print(a & b)
set
2 Votes
4 Answers
2nd Jan 2023, 4:17 PM
Mohammad Abed Kapisawal
Hi peeps someone should help me out on this I want to make the following to look like this [1, 2, 3, 4, 5, 6, 7, 8]
javascript
sololearn
0 Votes
7 Answers
21st Feb 2021, 9:31 PM
Francis Chukwudi
I made a program of calculator in PYTHON 3, but showing traceback error.
calculator
1 Vote
3 Answers
18th Apr 2020, 7:24 PM
Surojit Mondal
Type in the missing parts to print myArray's elements to the screen using the for loop. int myArray[4] = { 1, 2, 3, 4 };
c++
-10 Votes
18 Answers
19th Nov 2016, 12:56 AM
Johann Velazquez
1. What will be the output? 1. >>> m = [[x, x + 1 , x + 2] for x in ran a) [[1, 2, 3], [4, 5, 6], [7, 8, 9]] b) [[0, 1, 2], [1, 2, 3], [2, 3, 4]] c) [1, 2, 3, 4, 5, 6, 7, 8, 9] d) [0, 1, 2, 1, 2, 3, 2, 3, 4]
lists
python
-1 Vote
7 Answers
5th Jul 2016, 6:47 AM
shekhar
porque me marca error en la linea 3, 18 y 22 java?
ayuda
java
0 Votes
2 Answers
9th Apr 2021, 9:17 PM
Rafael González
Security Problem Tests 3, 6. / Outputs Right in 4 of 6 tests
guard
java
security
strings
0 Votes
3 Answers
14th May 2020, 7:21 PM
Marshall Russell
in python 3, i don't understand this question please explain me question in description?
(1,5):
for
i
in
print(i%3)
range
1 Vote
5 Answers
9th Jul 2019, 7:11 AM
Rupak Barman
How do you do the first quiz in module 3, lesson 5?
c#
methods
0 Votes
3 Answers
24th Jul 2016, 3:08 PM
Gameboy Lynch
Ребят, подскажите, пожалуйста, при вводе русского слова в sublime text 3, выводит иероглифы
python3
sublime
0 Votes
2 Answers
19th Nov 2020, 2:33 PM
Ravl
a =[ 1, 1, 2, 3, 5, 8, 19, 21, 34, 55, 89 ]
a.instead
ofprinting
th
0 Votes
4 Answers
17th Jan 2021, 1:35 PM
Vishnu Muralidhar
What is the output of this code? list = [1, 1, 2, 3, 5, 8, 13] print(list[list[4]])
python
0 Votes
3 Answers
9th Apr 2018, 7:21 AM
VISHWA PRIYA M
What is the output of this code? list = [2, 3, 4, 5, 6, 7] for x in list: if(x%2==1 and x>4): print(x) bre
python
2 Votes
18 Answers
14th Sep 2020, 4:21 PM
Anas Emad
I unable to understand two o/p coming after passing 3, and spam.
sets
0 Votes
2 Answers
19th Oct 2018, 7:59 PM
Mohammad Aazam Aazmi
if x = [1, 2, 3, 4, 5], what is the output of print(x[ : ])?
lists
1 Vote
4 Answers
21st Apr 2020, 8:47 AM
Md. Faruk Hossain
How to print the following series using while loop: 1, 3, 5, 7, 9.
c
0 Votes
4 Answers
25th Sep 2018, 4:44 PM
Ayushman
Hi, everyone. Tell me, how to do .length not count spaces. Example, I want to write "1 2 3" that length was 3, not 5
javascript
0 Votes
4 Answers
17th Apr 2021, 6:17 PM
Тимур Завьялов
in python 3, i don't understand this question please explain me question in description?
0and0or1
0and1or0
0or1and0
1or0and0
1 Vote
2 Answers
9th Jul 2019, 10:36 AM
Rupak Barman
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
2
3
Next >
Hot today
Hello, please help me understand how to solve
1 Votes
post your python code here)
2 Votes
I want these three dots to jump inside that box..please help
1 Votes
Is Java getting left behind? Do questions get upvotes?
1 Votes
Why are the outputs appeared different?
1 Votes
Help with homework
0 Votes
Anybody that can help me fix my pc - long story short I'm dumb and deleted necessary system software files
1 Votes
please help me emotionally
1 Votes
Logical operator
1 Votes
!DOCTYPE html> <html> <body> <div id="cd"> <p> My second JavaScript </p> <button oncl
0 Votes