This file contains hidden or 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
| #encoding: utf-8 | |
| class Hayvanlar | |
| attr_reader :beslenme ,:barinma , :solunumSekli ,:cogalma ,:boyut | |
| def initialize(beslenme,barinma,solunumSekli,cogalma,boyut) | |
| @beslenme=beslenme | |
| @barinma=barinma | |
| @solunumSekli=solunumSekli | |
| @cogalma=cogalma | |
| @boyut=boyut |
This file contains hidden or 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
| #encoding: utf-8 | |
| class Emlak | |
| attr_reader :tip, :il ,:odasayisi ,:fiyat | |
| @@a=0 | |
| @@b=0 | |
| def initialize(tip,il,odasayisi,fiyat) | |
| @tip=tip | |
| @il=il | |
| @odasayisi=odasayisi |
This file contains hidden or 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 java.io.*; | |
| import java.util.Scanner; | |
| import java.lang.ArrayIndexOutOfBoundsException; | |
| public class xx { | |
| public static String[] loginoku() throws IOException | |
| { |
This file contains hidden or 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/ruby | |
| #encoding: utf-8 | |
| class Personel | |
| attr_reader :isim, :soyad, :unvan, :yas | |
| attr_accessor :arac | |
| def initialize (isim, soyad ,unvan, yas) | |
| @isim=isim | |
| @soyad=soyad | |
| @unvan=unvan |
This file contains hidden or 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
| #encoding= 'utf-8' | |
| import locale | |
| locale.setlocale(locale.LC_ALL, "tr_TR") | |
| #!/usr/bin/env python | |
| #-*-coding: utf-8 -*- | |
| import csv | |
| with open('liste.csv', 'rb') as csvfile: | |
| readCSV=csv.reader(csvfile, delimiter=',') | |
| isim= [] |
This file contains hidden or 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 math | |
| from pythonds.basic.stack import Stack | |
| def metod1(a) : | |
| index1 = 0 | |
| index2 = 0 | |
| for i in range(0,len(a)) : | |
| for j in range(0,len(a[i])) : | |
| temp = a[i] | |
| if temp[j].find("<") != -1 : | |
| index1 += 1 |
This file contains hidden or 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
| package rabia; | |
| import java.util.Scanner; | |
| public class uygulamaa { | |
| public static void main(String[] args){ | |
| Scanner scan = new Scanner(System.in); | |
| System.out.println("bir sayı giriniz:"); | |
| int sayi=scan.nextInt(); | |
| for (int i=2;sayi>1;i++) |
This file contains hidden or 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
| package rabia; | |
| import java.util.Scanner; | |
| public class uygulamaa { | |
| public static void main(String[] args){ | |
| Scanner scan = new Scanner(System.in); | |
| System.out.println("bir sayı giriniz:"); | |
| int sayi=scan.nextInt(); | |
| for (int i=1;i<=sayi/2;i++) |
This file contains hidden or 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
| i = 0 | |
| kelime = raw_input("bir kelime giriniz") | |
| sesli = "AEIOUÖUÜİaeıioöuü" | |
| yeni_kelime = " " | |
| for x in kelime: | |
| if x not in sesli: | |
| yeni_kelime +=x.upper() | |
| else: | |
| yeni_kelime +=x | |
| print("yeni kelime", yeni_kelime) |
This file contains hidden or 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
| i = 0 | |
| kelime = raw_input("bir kelime giriniz") | |
| sesli = "aeıioöuü" | |
| yeni_kelime = " " | |
| for x in kelime: | |
| if x not in sesli: | |
| yeni_kelime +=x | |
| print("yeni kelime", yeni_kelime) | |