How to write code to this with for loop and without 2 for loops
X
XX
XXX
XXXX
XXXXX
XXXX
XXX
XX
X
(Nov-21-2021, 05:07 PM)nadun Wrote: [ -> ]How to write code to this with for loop and without 2 for loops
Have you learned about the effect of
abs()
on negative numbers yet? Do you know that
range()
can use negative numbers? (hint hint)
Do you have to use range?