Konuyu Oyla:
  • Toplam: 1 Oy - Ortalama: 4
  • 1
  • 2
  • 3
  • 4
  • 5
[GÜNCEL] Ortalama Hesaplama
#11
Evet arkadaşlar bu şekilde düzenleme yapınca sonuç doğru çıkmaya başladı artık. Kullanmak isteyen ders kısımlarının d notlarını değiştirip kullanabilir.
PHP Kod:
# -*- coding: cp1254 -*-
#qpy:2
#qpy:console
from __future__ import division
a
=73
b
=92
c
=93
d
=90
e
=93
f
=95
g
=80
h
=86
j
=100
print a
a1
=input ("biyokimya kaç"
a2=(a*40+a1*60)/100
if a2>=90:
 
a2=4
 
print a2,"AA"
elif a2>=80:
 
a2=3.5
 
print a2"BA"
elif a2>=70:
 
a2=3
 
print a2," BB"
print b
b1
=input ("fizyoloji kaç"
b2=(b*40+b1*60)/100
if b2>=90:
 
b2=4
 
print b2,"AA"
elif b2>=80:
 
b2=3.5
 
print b2"BA"
elif b2>=70:
 
b2=3
 
print b2," BB"
print c
c1
=input ("viroloji kaç"
c2=(c*40+c1*60)/100
if c2>=90:
 
c2=4
 
print c2,"AA"
elif c2>=80:
 
c2=3.5
 
print c2"BA"
elif c2>=70:
 
c2=3
 
print c2," BB"
print d
d1
=input ("mikrobiyoloji kaç"
d2=(d*40+d1*60)/100
if d2>=90:
 
d2=4
 
print d2,"AA"
elif d2>=80:
 
d2=3.5
 
print d2"BA"
elif d2>=70:
 
d2=3
 
print d2," BB"
print e
e1
=input ("patoloji kaç"
e2=(e*40+e1*60)/100
if e2>=90:
 
e2=4
 
print e2,"AA"
elif e2>=80:
 
e2=3.5
 
print e2"BA"
elif e2>=70:
 
e2=3
 
print e2," BB"
print f
f1
=input ("arı hastalıkları kaç"
f2=(f*40+f1*60)/100
if f2>=90:
 
f2=4
 
print f2,"AA"
elif f2>=80:
 
f2=3.5
 
print f2"BA"
elif f2>=70:
 
f2=3
 
print f2," BB"
print g
g1
=input ("ingilizce kaç"
g2=(g*40+g1*60)/100
if g2>=90:
 
g2=4
 
print g2,"AA"
elif g2>=80:
 
g2=3.5
 
print g2"BA"
elif g2>=70:
 
g2=3
 
print g2," BB"
print h
h1
=input ("hücre kültürü kaç"
h2=(h*40+h1*60)/100
if h2>=90:
 
h2=4
 
print h2,"AA"
elif h2>=80:
 
h2=3.5
 
print h2"BA"
elif h2>=70:
 
h2=3
 
print h2," BB"
print j
j1
=input ("hayvan refahı kaç"
j2=(j*40+j1*60)/100
if j2>=90:
 
j2=4
 
print j2,"AA"
elif j2>=80:
 
j2=3.5
 
print j2"BA"
elif j2>=70:
 
j2=3
 
print j2," BB"
liste=[a2b2c2d2e2d2g2h2j2]

u=(a2*4+b2*5+c2*3+d2*3+f2*2+e2*3+g2*2+h2*1+j2*2)/25

print 

@KarlMarx dediğini anlamadım kusura bakma
Ara
Cevapla
#12
Tamamlayınca bankada atarsan referans olur
Ara
Cevapla
#13
harika
Ara
Cevapla
#14
PHP Kod:
# -*- coding: utf-8 -*-
"""
Created on Sun Jun 16 13:00:12 2019

@author: pc
"""
topkredi=0
topnote
=0
a
=0
sec
=int(input("Kaç Ders Gireceksiniz? "))
while 
a<sec:
 
   kredi=int(input("ders kredisi "))
 
   note=str(input("harf notu "))
 
   note=note.upper()
 
   a=a+1
    if note
== "AA":
 
       note=float(4.00)
 
   elif note== "BA":
 
       note=float(3.50)
 
   elif note== "BB":
 
       note=float(3.00)
 
   elif note== "CB":
 
       note=float(2.50)
 
   elif note== "CC":
 
       note=float(2.00)
 
   elif note== "DC":
 
       note=float(1.50)
 
   elif note== "DD":
 
       note=float(1.00)
 
   elif note== "FD":
 
       note=float(0.50)
 
   elif note== "FF":
 
       note=float(0.00)
 
   topnote=kredi*note+topnote
    topkredi
=topkredi+kredi
print("Genel Ortalamanız ",topnote/topkredi
ben de bu konudan ilham alarak basit bir şekilde kredi harf notunu girerek bir genel ortalama hesaplayıcı yaptım
Ara
Cevapla
#15
@lydia kodları PHP taglari içine alırsan daha iyi olur çünkü girintiler bu şekilde kayboluyor, kodu kopyalayan kişi hata alacaktır muhtemelen.
Turbobit Premium Link Çeviri | Turbobit Link Generator | http://turbobit.qpython.club
Cevapla
#16
(16-06-2019, Saat: 18:38)gecemor Nickli Kullanıcıdan Alıntı:  @lydia kodları PHP taglari içine alırsan daha iyi olur çünkü girintiler bu şekilde kayboluyor, kodu kopyalayan kişi hata alacaktır muhtemelen.

tamamdır hocam
Ara
Cevapla
#17
(16-06-2019, Saat: 16:43)lydia Nickli Kullanıcıdan Alıntı:  
PHP Kod:
# -*- coding: utf-8 -*-
"""
Created on Sun Jun 16 13:00:12 2019

@author: pc
"""
topkredi=0
topnote
=0
a
=0
sec
=int(input("Kaç Ders Gireceksiniz? "))
while 
a<sec:
 
   kredi=int(input("ders kredisi "))
 
   note=str(input("harf notu "))
 
   note=note.upper()
 
   a=a+1
    if note
== "AA":
 
       note=float(4.00)
 
   elif note== "BA":
 
       note=float(3.50)
 
   elif note== "BB":
 
       note=float(3.00)
 
   elif note== "CB":
 
       note=float(2.50)
 
   elif note== "CC":
 
       note=float(2.00)
 
   elif note== "DC":
 
       note=float(1.50)
 
   elif note== "DD":
 
       note=float(1.00)
 
   elif note== "FD":
 
       note=float(0.50)
 
   elif note== "FF":
 
       note=float(0.00)
 
   topnote=kredi*note+topnote
    topkredi
=topkredi+kredi
print("Genel Ortalamanız ",topnote/topkredi
ben de bu konudan ilham alarak basit bir şekilde kredi harf notunu girerek bir genel ortalama hesaplayıcı yaptım
Tebrikler ilham olabildi isem ne mutlu bana
Kodların çok daha düzenli ve kısa olmuş beğendim
Ara
Cevapla
#18
(17-06-2019, Saat: 07:59)Umutrc Nickli Kullanıcıdan Alıntı:  
(16-06-2019, Saat: 16:43)lydia Nickli Kullanıcıdan Alıntı:  
PHP Kod:
# -*- coding: utf-8 -*-
"""
Created on Sun Jun 16 13:00:12 2019
@author: pc
"""
topkredi=0
topnote
=0
a
=0
sec
=int(input("Kaç Ders Gireceksiniz? "))
while 
a<sec:
 
   kredi=int(input("ders kredisi "))
 
   note=str(input("harf notu "))
 
   note=note.upper()
 
   a=a+1
    if note
== "AA":
 
       note=float(4.00)
 
   elif note== "BA":
 
       note=float(3.50)
 
   elif note== "BB":
 
       note=float(3.00)
 
   elif note== "CB":
 
       note=float(2.50)
 
   elif note== "CC":
 
       note=float(2.00)
 
   elif note== "DC":
 
       note=float(1.50)
 
   elif note== "DD":
 
       note=float(1.00)
 
   elif note== "FD":
 
       note=float(0.50)
 
   elif note== "FF":
 
       note=float(0.00)
 
   topnote=kredi*note+topnote
    topkredi
=topkredi+kredi
print("Genel Ortalamanız ",topnote/topkredi
ben de bu konudan ilham alarak basit bir şekilde kredi harf notunu girerek bir genel ortalama hesaplayıcı yaptım
Tebrikler ilham olabildi isem ne mutlu bana
Kodların çok daha düzenli ve kısa olmuş beğendim
Cok teşekkür ederimmm
Ara
Cevapla

{lang: 'en'}


Konu ile Alakalı Benzer Konular
Konular Yazar Yorumlar Okunma Son Yorum
  Harf Notuyla Genel Ortalama Hesaplama caminci 4 3,745 19-06-2019, Saat: 18:11
Son Yorum: caminci
  GÜNCEL Vize puanına göre Final puanı Hesaplama *Üniversite Umutrc 10 10,715 12-04-2017, Saat: 12:55
Son Yorum: Umutrc
  GÜNCEL Günluk Internet Kullanım Kotası Hesaplama burak160731 36 33,341 01-12-2016, Saat: 16:01
Son Yorum: hkrgln

Hızlı Menü:


Konuyu Okuyanlar: 1 Ziyaretçi
Change Theme