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
| btnAsol=Button(AoyuncuPenceresi,text ="sol",width=6,height=2,command=lambda:TetikFonksiyon(1)).place(relx=0.1,rely=0.35) |
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
| btnAsol=Button(AoyuncuPenceresi,text ="sol",width=6,height=2,command=TetikFonksiyon).place(relx=0.1,rely=0.35) |
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
| matrix={} | |
| for i in range(1,en+1): | |
| for j in range(1,boy+1): | |
| matrix[i,j]=Label(OyunPenceresi, text=random.randint(1,9),font=("Helvetica",30)) | |
| print matrix[a,b].cget("text") | |
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
| basit_dict = { | |
| 'Türkiye': 'TL', | |
| 'Amerika': 'USD', | |
| 'Kanada': 'CAD', | |
| 'Avrupa': 'EUR' | |
| } | |
| print basit_dict['Türkiye] |
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
| basit_array=["TL","USD","CAD","EUR"] | |
| print basit_array[1] |
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
| degisken=5 | |
| def birfonksiyon(): | |
| global degisken=15 | |
| print degisken |
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
| degisken=5 | |
| def birfonksiyon(): | |
| degisken=15 | |
| print degisken |
NewerOlder