Cursos
Cursos
Compilador de Código
Compilador de Código
Debatir
Teams
Iniciar sesión
Registrarse
Menu
Sesiones de PyR
Buscar
Buscar
Haz una pregunta
Haz una pregunta
for i in range(5):
modules
python
0 Votos
5 Respuestas
28th Feb 2017, 2:12 AM
Jamal Bee
for i in range(5): print("*")
python3
2 Votos
2 Respuestas
8th Aug 2019, 2:50 PM
sathya
for i in range(5): print(" anything.. ") What does i here depicts??
loops
python
0 Votos
7 Respuestas
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 Respuestas
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 Votos
4 Respuestas
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 Votos
1 Respuesta
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 Respuestas
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 Respuestas
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 Respuestas
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 Votos
3 Respuestas
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 Votos
2 Respuestas
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 Respuestas
5th May 2020, 8:17 AM
Aayan Mateen
Haz una pregunta
Haz una pregunta
Haz una pregunta
Haz una pregunta
En tendencia hoy
Help please?
3 Votes
How to get better with problem-solving and programming
1 Votes
Ejercicio Pytho
0 Votes
Online voting system
2 Votes
Odd even threads without condition variable
0 Votes
What is that z for
0 Votes
Bug on "Java for Beginners Module 3 Quiz"
1 Votes
Suggestions needed
4 Votes
Game development
0 Votes
Ruby programming?
3 Votes