# -*- coding: utf-8 -*- # Genel liseler için not ortalaması uygulaması... # Coded by rohanrhu@kubuntu while going to end of the school... 2008-06-05... dersler = [("Matematik", 4), ("Edebiyat", 3), ("Dil ve Anlatım", 2), \ ("Kimya", 2), ("Biyoloji", 2), ("Coğrafya", 2), ("Fizik", 2), \ ("Beden", 2), ("Din", 1), ("İngilizce", 3), ("Tarih", 2), ("Sağlık", 2)] dsaat = 27 tnot = 0 for ders in dersler: dnot = int(raw_input(str(ders[0]) + ": ")) tnot += dnot * ders[1] ortalama = float(float(tnot) / float(27)) print "\n Ortalama: %0.2f" % ortalama if ortalama >= float(2.50): print "\n Geçtiniz!" else: print "\n Kaldınız!"