Last active
August 29, 2015 13:59
-
-
Save gizemiskender/10755211 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| transpose = [] | |
| matris = [] | |
| son = [] | |
| satir = int(raw_input("satir sayisi: ")) | |
| sutun = int(raw_input("sutun sayisi: ")) | |
| for i in range(satir): | |
| transpose.append([0] * sutun) | |
| matris.append([i + 1] * sutun ) | |
| son.append([0] * sutun) | |
| print "\n matrix: " | |
| for i in range(satir): | |
| for j in range(sutun): | |
| print matris[i][j], | |
| print "\t" | |
| print "\n transpose matrix" | |
| for i in range(satir): | |
| for j in range(sutun): | |
| transpose[j][i] = matris[i][j] | |
| for i in range(satir): | |
| for j in range(sutun): | |
| print transpose[i][j], | |
| print "\t" | |
| for i in range(satir): | |
| for j in range(sutun): | |
| son[i][satir-1-j] = transpose[i][j] | |
| print "dondurulmus matrix" | |
| print "\n" | |
| for i in range(satir): | |
| for j in range(sutun): | |
| print son[i][j], | |
| print "\t" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment