0
Can anyone solve this
Use a for loop to print the following reverse number pattern. Make sure that the user entered input for variable n and k are 5 https://code.sololearn.com/cB8449tKJQ0X/?ref=app
3 Answers
+ 4
You did not use n or k and you didn't specify the range argument.
The range function is used like range(4) for example. Go back to the lesson and pay close attention to how range() is used.
+ 1
You didnât use k at all. Maybe you donât need it? If you delete line 2, your code will work.
0
It's work fine