Cursos
Iniciar sesión
Comenzar a aprender IA
Cursos
Iniciar sesión
Comenzar a aprender IA
Sesiones de PyR
Buscar
Buscar
Haz una pregunta
Haz una pregunta
a=[] a.append(a) print(a) out:[[...]]
lists
python
4 Votos
8 Respuestas
11th Sep 2021, 2:37 PM
Arsalan [Inactive]
a=[1,2,3,4,5] for i in a: a.remove(i) print(a)
python3
1 Voto
19 Respuestas
22nd May 2020, 6:20 PM
Levi
a=[1,2,3,4,1] for n in a: a[n]=0 print(a)
python3
1 Voto
6 Respuestas
5th Aug 2018, 6:09 AM
Mohd Naved Ansari
a = 2 for i in range(-5,5): a=a+a print(a)
python
7 Votos
5 Respuestas
20th Mar 2021, 6:33 AM
Lazizbek
a=[1,2,3,4,5] for i in a: a.remove(i) print(a)
@python
0 Votos
1 Respuesta
14th Oct 2024, 12:54 PM
Palagani akhila gowd
a=(lambda x:x*(x+1))_ print(a) How do I call 6 to the above code?
lambdas
python
-1 Voto
10 Respuestas
25th Sep 2016, 4:03 AM
Shankar Balasubramaniam
a=input("Enter one strings:") print(a) b=input("input other string:") print(b) c=(a+b) print(c)
python
strings
0 Votos
3 Respuestas
27th Jul 2019, 9:02 AM
Dhyey Badheka
a = [i for i in range(8)] print(a) for i in a: a.remove(i) print(i) print (sum(a))
python
python3
1 Voto
3 Respuestas
17th Jun 2019, 7:28 AM
Praveen E
What will be the output of this code? a=float("123"*int(input("Enter a number:"))) Enter a number:2 print(a)
python
pythonprogramming
sololearn
-5 Votos
3 Respuestas
9th May 2020, 9:41 AM
Rohit tahiliani
why i us: a=float(input()) a=a+10 print(a) is correct but when i use a=a+10 a=float(input()) print=(a) is wrong. I need a answer
python
0 Votos
4 Respuestas
18th Oct 2024, 2:15 PM
Dang Yuh
Float * int (mistake): a=179*1.13 print(a) Output = 202,269999999999999 But right answer is 202.27 What is the mistake in python???
python
0 Votos
5 Respuestas
18th Oct 2016, 9:40 AM
Konstantin Markov
how to make sure that the output is only one row for example output is only print(a)
average
python
0 Votos
1 Respuesta
16th Sep 2016, 5:50 PM
Tjomq Jazz
i//2 == 20 then i = 40 ,i//2 = 40/2 = 20 Why the answer print(a) = [20] is incorrect ?
python3
1 Voto
4 Respuestas
13th Oct 2020, 5:09 AM
Rajan K
>>>a=10 >>>while a<=25: a+=2 print(a) >>>12,......26 Why this code print up to 26 when it is less than 25? >>>a = 10 >>>while a <= 25: print(a) a+=2 >>>12,.......24 What is the difference between these two code & why they give different result?
python
while
0 Votos
3 Respuestas
1st Jul 2016, 3:38 AM
Romario Kisku
a = 6 while a >=2: print(a) a -= 1 b = 6 while True: print(b) b -=1 if b <=2: break
python3
0 Votos
2 Respuestas
30th Oct 2020, 12:49 AM
Sushil Mundhra
So I tried a = "a" while a <= "e": print(a) a = "a" + "1" print("Finished") and it said time limit exceeded
loops
python
0 Votos
5 Respuestas
7th Sep 2016, 10:49 PM
Tendai25
Function output
def
func(a)
func(x):
print(a)
x=1
0 Votos
5 Respuestas
12th Feb 2020, 8:35 PM
Sinan
I write the python on IDLE like this (testing) >> a =("Hello World") >> print(a) i save it with ".py" why not work?
python3
0 Votos
5 Respuestas
3rd Jul 2017, 12:57 PM
Fariz Duta Nugraha
a = [1,1,2,3,5,8] for a[1] in a: pass print(a) result :[1, 8, 2, 3, 5, 8] want to know how index-1 is replaced as 8.
python
2 Votos
3 Respuestas
22nd Nov 2019, 6:03 AM
Sreeraj V A
Haz una pregunta
Haz una pregunta
Haz una pregunta
Haz una pregunta
En tendencia hoy
What kind of questions do companies ask in Data Analyst interviews (including Python, SQL, Power BI, and Excel)?
1 Votes
??
1 Votes
Give some simple practice questions in C
0 Votes
Ошибка в приложении Sololearn
1 Votes
Hello guys,
1 Votes
Did sololearn helped you to get easier a job?
1 Votes
Help me
1 Votes
Programming
0 Votes
how do they use javascript
0 Votes
Code coach isn't awarding xp
0 Votes