0
I made an array with 12 elements that has 4 rows and columns and wanted them to be displayed like this without [' '] in list form, but I don’t want the output to be displayed like this:
Remembering: Should work with negative floats numbers and positive floats typed
Entrada:
02 04 06
08 10 12
14 16 18
20 22 24
Saída esperada:
02 04 06
08 10 12
14 16 18
20 22 24
Mas a saída está assim:
['02', '04', '06']
['08', '10', '12']
['14', '16', '18']
['20', '22', '24']
Meu código:
mt1 = input().split()
mt2 = input().split()
mt3 = input().split()
mt4 = input().split()
print (mt1)
print (mt2)
print (mt3)
print (mt4)
Where are you studying Python? The frequency of questions seems a little abnormal.
– Breno
Randomly (but the biggest problem is matrix)
– user141036
Can do with two for, dps I’ll send a version.
– Filipe Farias