This is actually correct, python is quite easy tho
2024-07-26 10:43:28
22
sudo rm -rf :
I mean that's correct
2024-07-19 08:10:59
531
StayTuned :
for i in range(1, 6):
print('*' * i)
is this correct or not?
2024-07-30 18:47:54
13
Ghost :
Simple, fast, cost effective, easy to understand and do the job.
2024-07-24 09:43:12
238
randomprojekts :
i think its print("*" + 1) and loop 5 times
2024-07-26 14:56:37
31
OrphanOfTheAmericanDream :
Well, as a interviewer I would appreciate this over for loop solution.
2024-07-25 13:10:43
59
Easy life :
yrr simplyy loop chla lete
2024-07-06 09:30:13
13
@Swanky☑️ :
python be doing the most 😂😅
easy peasy
2024-07-08 05:49:50
28
Micah Retief :
to be honest it's the best way to do that haha.
as long as that's all you need to print
2024-07-25 08:32:11
7
Skay`を :
logic that is above logic🗿
2024-08-07 04:48:48
1
︎ :
code with less lines would be:
for x in range(5):
print("*"*x)
I'm not an expert in one line for loops but I think this'll work:
print("*"*x+"\n" for x in range(5))
2024-08-03 21:31:02
1
Gaming Only :
If it works it works
2024-07-26 14:20:47
2
PRiiMO 🇮🇷🇩🇪 :
it's correct but with a for loop it looks more professional
2024-07-30 11:27:48
1
🔥ÜMAÏR🔥 :
apply for loop
2024-07-26 18:06:20
1
MeasZenzo😉 :
Easy 😂
2024-07-06 06:02:12
5
CZY_3023 :
make a loop
2024-07-24 02:28:06
1
Poison Ivy :
at least youre honest
2024-07-08 15:10:15
1
Asher :
It work yes or no
2024-07-24 12:19:18
1
Muhammad Musa :
; missing 😂🔥
2024-08-17 20:22:19
0
def :
just make a loop that increases the amount of asteriks drawn per pine
2024-08-14 02:57:05
0
круассан :
n = 5
for i in range(1, n + 1):
for j in range(i):
print('*', end='')
print()
Maybe that's correct
2024-08-04 00:11:07
0
Basit :
end line?
2024-08-15 12:58:32
0
oprohen74699 :
bro thats not that way
2024-07-30 09:34:25
0
Thuta :
That's right, isn't?
2024-08-09 10:39:39
0
To see more videos from user @joinsigma, please go to the Tikwm
homepage.