Created
September 18, 2020 08:26
-
-
Save yigitkeremoktay/f6ab057320bbc7f87524ca161623f2b6 to your computer and use it in GitHub Desktop.
KucukRobotcuk15dakikadaPython
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
# Değişkenler | |
x = 1 | |
y = "String" | |
a = 4 | |
b = 8 | |
# Semboller | |
# * Çarpma | |
# + Toplama | |
# - Çıkarma | |
# / Bölme | |
c = a * b | |
# Fonksiyonlar | |
# fonksiyonismi(argumanlar,digerbirargumanlar) | |
print(c) | |
print("Bu da herhangi bir yazı") | |
## Tanımlama | |
def karesi(sayi): | |
sonuc = sayi * sayi | |
return sonuc | |
## Fonksiyon Sonuçları | |
birdegisken = karesi(c) | |
print(birdegisken) | |
# Paketler | |
import cv2 | |
import tkinter as a | |
from tkinter import * | |
#cv2.absdiff() | |
# Yapılar | |
a = True | |
b = False | |
c = 8 | |
if(c <= 8): | |
print("Yes!") | |
i = 0 | |
while(True): | |
print("Hi") | |
i = i + 1 | |
if((i <= 8) == False): | |
break |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment