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
# -*- coding: utf-8 -*- | |
import turtle | |
def kare(kenar_uzunluk): | |
for x in range(4): | |
turtle.forward(kenar_uzunluk) | |
turtle.right(90) | |
def eskenar_ucgen(kenar_uzunluk): | |
for x in range(3): | |
turtle.forward(kenar_uzunluk) | |
turtle.right(120) |
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
# copyright talha buyukakkaslar 02:24 28.02.2010 | |
# -*- coding: utf-8 -*- | |
import turtle | |
t=turtle | |
t.title("Matematik Gösterim") | |
t.setup(width=500,height=500,startx=100,starty=100) | |
def f(a): | |
t.forward(a) |
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
# copyright : talha büyükakkaşlar | |
# -*- coding: cp1254 -*- | |
import turtle | |
from turtle import * | |
import random | |
import time | |
# bu kısım bize istediğimiz şekilde turtle yapma imkanı sağlayacak | |
turtle.register_shape("ship",((4,12),(4,2),(8,2),(8,6),(4,6),(4,-4),(0,-4),(0,8))) | |
turtle.register_shape("sub",((-4,10),(-4,4),(-8,4),(-8,0),(-4,0),(-4,-10),(0,-10),(0,10),(-2,12))) | |
turtle.register_shape("torpedo",((0,2),(-10,2),(-10,0),(0,0))) |
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
# -*- coding: cp1254 -*- | |
import turtle | |
import math | |
t = turtle | |
def kontrol(harf): | |
if ord (harf)>128: | |
#"ascii2" | |
return"ascii2" | |
elif ord(harf)<=128: | |
if ord(harf)>96 and ord(harf)<123: |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace ConsoleApplication1 | |
{ | |
class Program | |
{ | |
static void Main() |
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
def cevir(sayi, girdi, cikti): | |
sayi = onlukacevir(sayi, girdi) | |
sayi = onlukdancevir(sayi, cikti) | |
return ters(sayi) | |
def onlukacevir(sayi, girdi): | |
sayi = str(sayi) | |
cikacak = 0 | |
for i in range(len(sayi)): | |
cikacak += sayiyap(sayi[i])*(girdi**(len(sayi)-(i+1))) |
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
# -*- coding: cp1254 -*- | |
isim = raw_input("Lütfen isminizi giriniz :") | |
numara = raw_input("Hoşgeldin {0} lütfen numaranızı giriniz".format(isim)) | |
if numara == "019": | |
print "Bu numara Ali adlı kullanıcıya ait" | |
elif numara == "043": | |
print "Bu numara Mehmet adlı kullanıcıya ait" | |
elif numara == "126": | |
print "Bu numara Ayşe adlı kullanıcıya ait" | |
else: |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.IO; | |
namespace ConsoleApplication1 | |
{ | |
class Program | |
{ |
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
# -*- coding: cp1254 -*- | |
import os | |
import doctest | |
def tani(klasor): | |
Cikti = [] | |
for i in range(len(klasor)): | |
islendi = False | |
j = len(klasor[i]) |
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
from math import * | |
class space (): | |
def __init__(self): | |
self.point_list = [] | |
self.lines_list = [] | |
self.screen_list = [] | |
outter_space = space() |
OlderNewer