7th day of python challenges 96-103

This commit is contained in:
abd.shallal
2019-07-31 14:12:40 +03:00
parent 4b84e9882a
commit dc946b9aba
11 changed files with 296 additions and 156 deletions

View File

@@ -0,0 +1,7 @@
array_list = [[2, 5, 8], [3, 7, 4], [1, 6, 9], [4, 2, 0]]
print(' row0 row1 row2')
for i in array_list:
print('column', i)
column = int(input('Please select a COLUMN from array above : '))
row = int(input('Please select a ROW number from array above : '))
print('the value in [{0}][{1}] = {2}'.format(row, column, array_list[column][row]))