Corsi
Corsi
Compilatore di codice
Compilatore di codice
Discuti
Prezzi
Squadre
Accedi
Registrati
Menu
Discussioni Q&A
Cerca
Cerca
Fai una domanda
Fai una domanda
for i in range(5):
modules
python
0 Voti
5 Risposte
28th Feb 2017, 2:12 AM
Jamal Bee
for i in range(5): print("*")
python3
2 Voti
2 Risposte
8th Aug 2019, 2:50 PM
sathya
for i in range(5): print(" anything.. ") What does i here depicts??
loops
python
0 Voti
7 Risposte
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 Risposte
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 Voti
4 Risposte
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 Voti
1 Risposta
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 Risposte
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 Voti
2 Risposte
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 Voti
12 Risposte
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 Voti
3 Risposte
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 Voti
2 Risposte
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 Voti
2 Risposte
5th May 2020, 8:17 AM
Aayan Mateen
Fai una domanda
Fai una domanda
Fai una domanda
Fai una domanda
Popolare oggi
Is it possible to convert .zip file to apk? If yes, how??
1 Votes
Pointers cpp
2 Votes
I think the heart system is ridiculous, 5 hearts that refill after like 5 hours? That is really just crazy to me.
1 Votes
What do you think of this code and what are your suggestions for developing and modifying it?, How can I develop myself more?
0 Votes
Why can’t I use double “ in python?
0 Votes
Is pro worth the money ?
1 Votes
2 cases not correct what's the problem
1 Votes
Drawing images in java
2 Votes
Need Guidance: AI Tools for Creating an App Prototype & UI/UX Design
1 Votes
You’re free to give me your advice! 🚨
0 Votes