Notes
Notes - notes.io |
tek tırnak çift tırnak fark etmez.
x = 'Engin'
print("Benim adım",x) virgül atarak devam edebilirsin.
paragraf="bugün " + "sınıfta " + "kimse yoktu" gibi yazarak + atarak birleştirebiliriz.
paragraf= "bugün" +
"geldigimde" +
"hoca yoktu"
>>> isim="Elma"
>>> isim[2] 0 dan başlar burada m verir
vizeler = [15,45,'AA',22,48,79,43] 15 0. elemandır.
del (vizeler) siler
vizeler[0:3] 0 1 2. elemanı alır 3. elemanı almaz.
vizeler[2: ] 3.elemanından sonsuza kadar alır.
vizeler * 2 2 defa yazar sayıları çarpmaz dizi durumunda
dizilerde sondan ekleme yapılabilir full= vizeler + 2.vizeler
vizeler = (15,45,'AA',22,48,79,43) içerisindeki elemanları değişmez eğer köşeli yaparsan değişir. tuple
sozluk = {"Marka": "Honda","Model":"Civic","Yil":2011,"Hacim": 1600}
sozluk.values()
sozluk.keys()
sozluk["Model"]
x = int (3.5) x i 3 int yapar
"123" bir değeri yoktur bir metindir !!!!!
int("123") 123 e çevirir.
str(123) sayısal değeri string e çevirir
ctrl home sağdan ctrl end soldan alır.
int("123456"[3]) 4.elemanını sayı olarak verir.
hex() 16lık oct() 8 lik basamak
ord(A) A nın kodunu verir. Tuşların da bir kodu vardır.
chr(65) yukarıdaki fonksiyonun tersi,
üs almak için 2**3 kullanılır
10//3 bölümü yapar alt tam sayıya yuvarlar
16 % 12 kalanı verir
x += 2 x e 2 ekler
a=60
b=13
a&b bit işlemi yapar.
a | b bit işlemi yapar
a^b sadece 0 ve 1 i 1 ve 0 ı doğru kabul eder.
|
Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 12 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team