Skip to content

Instantly share code, notes, and snippets.

@yigitkeremoktay
Created September 18, 2020 08:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yigitkeremoktay/f6ab057320bbc7f87524ca161623f2b6 to your computer and use it in GitHub Desktop.
Save yigitkeremoktay/f6ab057320bbc7f87524ca161623f2b6 to your computer and use it in GitHub Desktop.
KucukRobotcuk15dakikadaPython
# 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