This file contains 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
a = "Deneme" | |
b = 2 | |
c = 2.44 |
This file contains 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
#Hatalı Değişken Adı Tanımlamaları | |
01var = "Deneme" | |
2var = "Deneme" | |
$var = "Deneme" | |
+var = "Deneme" | |
değişken = "Deneme" | |
var-degisken = "Deneme" | |
var degisken = "Deneme" | |
#Doğru Değişken Adı Tanımlamaları |
This file contains 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
#Camel Case | |
cokKelimeliDegiskenAdi = "Deneme" | |
#Pascal Case | |
CokKelimeliDegiskenAdi = "Deneme" | |
#Snake Case | |
cok_kelimeli_degisken_adi = "Deneme" |
This file contains 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
a = "Bu bir deneme yazısıdır." | |
b = 'Bu da bir deneme yazısıdır.' |
This file contains 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
a = "Bu bir deneme yazısıdır." | |
b = 'Bu da bir deneme yazısıdır.' | |
print(type(a)) | |
print(type(b)) |
This file contains 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
name = "zinzin" | |
age = 36 | |
place = "İstanbul" |
This file contains 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
name = "zinzin" | |
age = 36 | |
place = "İstanbul" | |
print(f"Adım {name}. Yaşım {age}. {place}'da oturuyorum.") |
This file contains 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
a = "Ne mutlu Türk'üm diyene!" |
This file contains 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
a = "Ne mutlu Türk'üm diyene!" | |
print(a[9:13]) |
This file contains 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
print(4*7) | |
print(8/9) | |
print(144+25) |
OlderNewer