C0103 fixes 1

this part contains the changes on local variables
If you like, you can replace `range(0, len(inputs))` with `range(len(inputs))`.