Cohorts
  • Discover
  • About Us
  • Blog
  • Patika.dev
  • Web3

Python Temel

Programlama Nedir?
Jupyter Notebook
Temel Veri Tipleri
Değişken Atama
Kafa Karışıklığı
Operatörler ve İfadeler

Stringler
Stringler Üzerinde Operatörler
Stringlerde İndexleme
Stringlerde Casting

Input

Koda Yorum Ekleme

Sayısal Verilerde Karşılaştırma
Stringlerde Karşılaştırma
Mantıksal Operatörler
Short-circuit
Short-circuit Olmayan Mantıksal Operatörler

If-else-elif
Ternary Conditionals

Döngüler
while
for
Continue-Break

List
Tuple
in
Dictionary
Set
Non-scalar Veri Tiplerinde For
Split-Join
List Comprehension
Variable Unpacking
Enumerate-Zip

Fonksiyonlar
return
Comment-Fonksiyon
Birden Fazla Değer Döndürme/input İçerme
Predefined Parameters
Update Input
First Class Function
For-Function

Underscore Placeholder

fstring

Proje

Operatörler ve İfadeler (Operators-Expressions)


  • Objeler(object) ve operatörlerin(operator) birleşimi expression'ları oluşturur.


  • Expression'ların değerleri (value)'ları vardır ve tabii ki de bunların tipleri vardır.


  • İfadeler şöyler oluşturulur: (object) (operator) (object)


  • Expression'ların tiplerini operator'un uygulandığı objelerin tipleri belirler.


+ operator

# İki tane integer'ın toplamı integer verir.
2 + 2
4
type(2+2)
int
# İki tane float'un toplamı float verir.
2.4 + 2.5
4.9
type(2.4 + 2.5)
float


  • Eğer objelerden biri bile float ise toplama işleminde expression'un tipi float olur.


2.4 + 3
5.4
type(2.4 + 3) 
float


- operator


# İki tane integer'ın farkı integer verir.
3 - 2
1
type(3-2)
int
# İki tane float'un farkı float verir.
2.6 - 2.1
0.5
type(2 - 2.1)
float


  • Eğer objelerden biri bile float ise çıkarma işleminde expression'un tipi float olur.


2.5 - 3
-0.5
type(2.5 - 3)
float


* operator


# İki tane integer'ın çarpımı integer verir.
3 * 2
6
type(3*2)
int
# İki tane float'un çarpımı float verir.
2.6 * 2.4
6.24
type(2.6 * 2.4)
float


  • Eğer objelerden biri bile float ise çarpma işleminde expression'un tipi float olur.


2.5 * 3
7.5
type(2.5 * 3) 
float


/ operator


  • İşleme giren objelerin tipi ne olursa olsun cevap float olur.


3 / 2
1.5
3 / 1.5
2.0
2.4 / 0.6
4.0


// operator (int division)


  • Eğer işleme girenlerden biri bile float ise cevap float olur.


5 // 2
2
5 // 2.5
2.0
4.2 // 5
0.0
8.2 // 5
1.0


% operator (Remainder/kalan)


  • Eğer kalan float ise cevap float olur yoksa integer olur.


5 % 2
1
10 % 3
1
2.5 % 2
0.5


** operator


  • Üst alma işlemi yapar.


2 ** 3
8
3 ** 2
9
2.4 ** 2
5.76
5 ** -1
0.2


print()


  • Bazen sadece bazı değerleri bastırmak isteriz, bunun için print() metodunu kullanabiliriz.


print(5)
5


Quiz

Answer the questions to check your understanding.

This lesson includes a short quiz.

Previous
Next

Lesson discussion

Swap insights and ask questions about “Python Temel”.

Enroll to participate
Start the course to unlock the discussion. Enrolling helps us keep conversations relevant to learners.
Cohorts
WebsiteDiscoverBlogPatika.devRise In
CoursesCircleRustSoliditySolanaWeb3 FundamentalsBlockchain Basics
CompanyAbout UsTerms of UsePrivacy PolicyGDPR NoticeCookies
Don't miss any update!

Disclaimer: The information, programs, and events provided on https://cohorts.patika.dev is strictly for upskilling and networking purposes related to the technical infrastructure of blockchain platforms. We do not provide financial or investment advice, nor do we make any representations regarding the value, profitability, or future price of any blockchain or cryptocurrency. Users are encouraged to conduct their own research and consult with licensed financial professionals before engaging in any investment activities. https://cohorts.patika.dev disclaims any responsibility for financial decisions made by users based on the information provided here.

© 2026 Cohorts, All rights reserved