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 turtle | |
t=turtle | |
t.pen(pencolor="red") | |
for i in range(0,4): | |
t.forward(100) | |
t.left(90) | |
t.forward(40) | |
for i in range(0,4): | |
t.forward(30) |
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 turtle | |
t=turtle | |
t.pensize(5) | |
t.pen(pencolor="red") | |
for i in range(0,4): | |
t.forward(100) | |
t.left(90) | |
t.forward(50) | |
t.left(90) |
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 turtle | |
t=turtle | |
t.color(1,0,0) | |
t.pensize(5) | |
t.circle(100) | |
t.up() | |
t.left(90) | |
t.forward(100) | |
t.pensize(5) | |
t.pen(pencolor="black") |
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
print"Merhaba, Hoşgeldiniz" | |
print"Programın Amacı:İkinci Dereceden İki Bilinmeyenli Denklemin Köklerini Bulan Program" | |
a=input("x**2 li terimin baş katsayısını giriniz:") | |
b=input("x li terimin baş katsayısını giriniz:") | |
c=input("sabit sayıyı giriniz:") | |
d=b**2-(4*a*c) | |
if d>0: | |
x1=(-b+d**0.5)/2*a | |
x2=(-b-d**0.5)/2*a | |
print"Denklemin Kökleri",x1,"ve",x2,"dir." |
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
# / Usr / bin / env python | |
# -*- Kodlama: UTF-8 -*- | |
print"Selamun aleyküm,hoşgeldiniz." | |
print"1-tamsayılar\n2-karmaşık sayılar\n3-ondalıklı sayılar" | |
no=input("İşlem numarasını giriniz:") | |
if no==2: | |
a=input("Karmaşık sayının reel kısmını giriniz:") | |
b=input("Karmaşık sayının imajiner kısmını giriniz:") | |
c=((a**2)+(b**2))**0.5 | |
print"Karmaşık sayının mutlak değeri",c,"dir." |
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
print"Selamun aleyküm,hoşgeldiniz." | |
print"1-tamsayılar\n2-karmaşık sayılar\n3-ondalıklı sayılar" | |
no=input("İşlem numarasını giriniz:") | |
if no==2: | |
a=input("Karmaşık sayının reel kısmını giriniz:") | |
b=input("Karmaşık sayının imajiner kısmını giriniz:") | |
c=((a**2)+(b**2))**0.5 | |
print"Karmaşık sayının mutlak değeri",c,"dir." | |
if no==1: | |
x=input("Lütfen mutlak değerinin alınmasını istediğiniz tam sayıyı giriniz:") |
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 -*- | |
print"Hoşgeldiniz biz bir sayı girdik onu bulmaya çalışın bakalım:)" | |
import random | |
x=random.randint(1,101) | |
while True: | |
y=input("Lütfen aklınızdan geçen bir sayı giriniz:") | |
if x>y: | |
print"Girdiğin sayı biraz küçük bizim aradığımız sayı daha büyük hadi bul şu sayıyı bakalım:)" | |
elif y>x: | |
print"Girdiğin sayı biraz büyük bizim aradığımız sayı daha küçük hadi bul şu sayıyı bakalım:)" |
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
/* | |
* File: main.c | |
* Author: alaattin | |
* | |
* Created on 04 Mart 2013 Pazartesi, 17:58 | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <ctype.h> |
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
/* | |
* File: main.c | |
* Author: alaattin | |
* | |
* Created on 05 Mart 2013 Salı, 17:05 | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <time.h> |
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
/* | |
* File: main.c | |
* Author: alaattin | |
* | |
* Created on 10 Mart 2013 Pazar, 22:11 | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> |
OlderNewer