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
my_dict = { | |
"a1" : "value01", | |
"a2" : "value02", | |
"a3" : "value03" | |
} | |
print(len(my_dict)) |
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
dict = { | |
'z1' : 440, | |
'z2' : 500, | |
'z3' : 600 | |
} |
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
dict = { | |
'z1' : 440, | |
'z2' : 500, | |
'z3' : 600 | |
} | |
dict.clear() | |
print(dict) |
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
dict = { | |
'z1' : 440, | |
'z2' : 500, | |
'z3' : 600 | |
} |
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
dict = { | |
'z1' : 440, | |
'z2' : 500, | |
'z3' : 600 | |
} | |
dict.update({'z2': 700}) | |
print(dict) |
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
q = (12, 12, "orkide", 24.5, 12, 12.48, "karanfil", 12.34, 12.00, 16) | |
print(q.count(12)) |
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
q = (12, 12, "orkide", 24.5, 12, 12.48, "karanfil", 12.34, 12.00, 16) |
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
my_tuple = ("saksağan", "ardıç", 12, "sümbül") |
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
my_tuple = ("saksağan", "ardıç", 12, "sümbül") | |
print(my_tuple.index("sümbül")) |
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
am_radyo_frekanslari = ( | |
153, 162, 171, 189, 198, | |
207, 225, 234, 243, 252, | |
531, 540, 549, 558, 567, 576, 585, 594, 596, | |
603, 612, 621, 630, 639, 648, 657, 666, 675, | |
684, 693, 702, 711, 720, 729, 738, 747, 756, | |
765, 774, 783, 792, 801, 810, 819, 828, 837, | |
838, 840, 846, 855, 864, 873, 882, 891, 900, | |
909, 917, 918, 927, 936, 945, 950, 954, 963, | |
972, 981, 990, 999, 1008, 1017, 1026, 1035, |