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

4th Jul 2022, 3:36 PM
Tshegofatso Sekgothe
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.
4th Jul 2022, 3:45 PM
Lisa
Lisa - avatar
+ 1
You didnā€™t use k at all. Maybe you donā€™t need it? If you delete line 2, your code will work.
4th Jul 2022, 6:33 PM
Š Š¾Š¼Š°Ń€Šø
Š Š¾Š¼Š°Ń€Šø  - avatar
0
It's work fine
6th Jul 2022, 3:22 PM
N. Vimukthi Dilshan Fernando