13 июля 2026
Kara KaraI said I would record my progress here every day so that you could all witness it.
A good option is to save your progress of solved exercises in a Github repository.
Kekтекст ещё не в индексе
Not sure but but this how i did mine
print ('exercise 23✅' '\nlet write a script that display number like a table')
stat=1; con=1
fst=stat*con
secd=stat*fst
thrd=stat*secd
stat2=2
fst2=stat2*con
secd2=stat2*fst2
thrd2=stat2*secd2
stat3=3
fst3=stat3*con
secd3=stat3*fst3
thrd3=stat3*secd3
stat4=4
fst4=stat4*con
secd4=stat4*fst4
thrd4=stat4*secd4
stat5=5
fst5=stat5*con
secd5=stat5*fst5
thrd5=stat5*secd5
print ('',stat,con,fst,secd,thrd,'\n',stat2,con,fst2,secd2,thrd2,'\n',stat3,con,fst3,secd3,thrd3,'\n',stat4,con,fst4,secd4,thrd4,'\n',stat5,con,fst5,secd5,thrd5)
Mondy AlNot sure but but this how i did mine
print ('exercise 23✅' '\nlet write a script that display number like a table')
stat=1; con=1
fst=stat*con
secd=stat*fst
thrd=stat*secd
stat2=2
fst2=stat2*con
secd2=stat2*fst2
thrd2=stat2*secd2
stat3=3
fst3=stat3*con
secd3=stat3*fst3
thrd3=stat3*secd3
stat4=
Yea but this uses stuff we didnt learn yet. I'm trying to solve all exercises by only using what was thaught
KekYea but this uses stuff we didnt learn yet. I'm trying to solve all exercises by only using what was thaught
okay the new line (\n) and the semi colon( ;) are stuff i know i added intentionally the rest are just variable multiplication
14 июля 2026
AbdurahmonHello, can someone explain me how to do it? I know it must be done with for loop nested inside for loop but how actually for loop inside another for loop works. I can’t even imagine it.
The main idea is that for the outer loop to control the rows while the inner loop the columns....u have 8 rows and 8 columns so use
for row in range(8): # Repeat for 8 rows
for column in range(8): # Print 8 "#" in this row
print("#", end=" ")
print() # Move to the next line
befikerThe main idea is that for the outer loop to control the rows while the inner loop the columns....u have 8 rows and 8 columns so use
for row in range(8): # Repeat for 8 rows
for column in range(8): # Print 8 "#" in this row
print("#", end=" ")
print() # Mo
What does “end” do? And I am still not sure how the hell am I supposed to translate for loop nested in for loop in my mind?
AbdurahmonWhat does “end” do? And I am still not sure how the hell am I supposed to translate for loop nested in for loop in my mind?
ends tell what to print after the value since default print() ends with a new line...as for nested loops...think of it as the outer loop repeats the rows... for each row, the inner loop repeats the columns...if you don't understand there are thousands of YouTube videos that explain it properly or ask goggle or ai
15 июля 2026
16 июля 2026
17 июля 2026