3 × 3 hit
1 view (last 30 days)
Manas Minnoor on 6 Jun 2021
Assuming you want to input the numbers one by one, you may use nested for loops along with the input function, whose documentation are linked below.
To multiply odd columns by 4, you may again use nested for loops along with the colon operator to access only odd columns.
Hope this helps.