Cursos
Cursos
Compilador de Código
Compilador de Código
Discutir
Teams
Fazer login
Registrar
Menu
Q&A Discussões
Pesquisar
Pesquisar
Faça uma pergunta
Faça uma pergunta
for i in range(5):
modules
python
0 Voto
5 Respostas
28th Feb 2017, 2:12 AM
Jamal Bee
for i in range(5): print("*")
python3
2 Votos
2 Respostas
8th Aug 2019, 2:50 PM
sathya
for i in range(5): print(" anything.. ") What does i here depicts??
loops
python
0 Voto
7 Respostas
26th Jun 2016, 11:46 AM
Kanishk Gangwar
x=[] for y in range(5): if y[b] % [/b]2==0: x.append(y) continue print (x)
python3
1 Voto
4 Respostas
15th Apr 2023, 8:06 AM
Somvir Dhaka
How does this work? why is there an i? for i in range(5): print("hello!")
loops
python
0 Voto
4 Respostas
14th Sep 2016, 11:29 AM
Giovanni
for i in range(5): print("hello!") - shouldn't this list out 6 lines (0-5?)
loops
python
0 Voto
1 Resposta
25th Mar 2020, 6:58 PM
kevin
c = 0 for x in range(10): for y in range(5): c += 1 print(c)
python
-1 Voto
3 Respostas
12th Jun 2021, 5:51 AM
Deepak Murmu
file=open('num.txt', 'w') name=[] for i in range(5): n=input("Enter Name: ") file.writelines(name) name.append(n+'\n') file
error
-3 Votos
2 Respostas
24th Jul 2022, 3:05 AM
Gunda Freefire
When it says import random for i in range(5): value = random.randint(1, 6) print(value) What does the 'i' mean?
modules
python
5 Votos
12 Respostas
7th Apr 2016, 5:14 AM
Bam Morgan
for i in range(5): print("hello!"), output is that 5 times hello is printed, but what "i" is doing in the whole code??
loops
0 Voto
3 Respostas
9th Jul 2019, 7:59 PM
Garima Agrawal
import random for i in range(5): value = random.randint(1, 6) print(value) 1.Why we use import random ? 2.why we write value variable instead of i ? 3.why we include random.randint ? 4.what is randint ?
python
0 Voto
2 Respostas
1st Aug 2016, 11:03 AM
Rupam Das
compilition error
-140)
'blue'
'green'
'purple']
'yellow'
"normal"))
12
30)
320)
clr=['red'
font=("arial"
for
i
import
in
range(5):
screen.bgcolor('black')
screen.setup(420
screen=turtle.screen()
solutions'
time
trtl.forward(200)
trtl.ht()
trtl.pencolor('olive')
trtl.pencolor(clr[i])
trtl.pendown()
trtl.pensize(4)
trtl.penup()
trtl.right(144)
trtl.setpos(-90
trtl.setpos(80
trtl.write('vivax
trtl=turtle.turtle()
turtle
-2 Votos
2 Respostas
5th May 2020, 8:17 AM
Aayan Mateen
Faça uma pergunta
Faça uma pergunta
Faça uma pergunta
Faça uma pergunta
Quente hoje
How to get better with problem-solving and programming
1 Votes
Odd even threads without condition variable
0 Votes
Ejercicio Pytho
0 Votes
What is that z for
0 Votes
Bug on "Java for Beginners Module 3 Quiz"
1 Votes
Suggestions needed
4 Votes
Write a program to find the strings are in isogram or not
0 Votes
What's wrong with this code ? ( Beginner)
0 Votes
Please rate my code from 1 to 10
1 Votes
How to start
0 Votes