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
import random | |
import time | |
class kumandalar(): | |
def __init__(self,tv_durumu = "Kapalı",tv_ses = 0,kanal = "TRT",kanal_listesi = ["TRT"]): | |
self.tv_durumu = tv_durumu | |
self.tv_ses = tv_ses | |
self.kanal = kanal | |
self.kanal_listesi = kanal_listesi |
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
class araba(): | |
def __init__(self,marka,model,renk,km): | |
self.marka = marka | |
self.model = model | |
self.renk = renk | |
self.km = km | |
def kmekle(self,yenikm): | |
print("KM Ekleniyor!") | |
self.km += yenikm | |
def bilgiler(self): |
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
import time | |
class synthesizer(): | |
def __init__(self,durum = "Kapalı",dalga = "Sinus",cutoff = 5,attack = 5,decay = 5,sustain = 5,release = 5,volume = 10,noise = "Kapalı"): | |
self.dalga = dalga | |
self.cutoff = cutoff | |
self.attack = attack | |
self.decay = decay | |
self.sustain = sustain | |
self.release = release | |
self.volume = volume |
NewerOlder