0
May i have some feedback on my code, please?
https://www.sololearn.com/en/compiler-playground/cIyAg0ZwZlq2 It works, but i feel i could've written it better. Was the while loop a poor choice?
2 Answers
+ 2
it needs 3 inputs.
13
7
0
(No output.)
possible:
if val_min > val_max:
# change the values, using a helper variable
but what to do with the start, if is it smaller than a val_min?
0
Mihaly Nyilas i knew i forgot something. Thank you kindly.