#!/usr/bin/env python
# coding: utf-8

# In[ ]:


#student=s olarak gösterildi, midterm grade=x, project grade=y, final grade=z
x=float(input("enter for midterm grade for student1: ")) 
y=float(input("enter for project grade for student1: "))
z=float(input("enter for final grade for student1: "))

student1 = (x,y,z)

s1=(0.3*x)+(0.3*y)+(0.4*z)

print("midterm grade for student1 is {0}, project grade for student1 is {1}, final grade for student1 is {2}" .format(x,y,z))
print("The passing grade: ",s1)


x=float(input("enter for midterm grade for student2: ")) 
y=float(input("enter for project grade for student2: "))
z=float(input("enter for final grade for student2: "))

student2 = (x,y,z)

s2=(0.3*x)+(0.3*y)+(0.4*z)

print("midterm grade for student2 is {0}, project grade for student2 is {1}, final grade for student2 is {2}" .format(x,y,z))
print("The passing grade: ", s2)


x=float(input("enter for midterm grade for student3: ")) 
y=float(input("enter for project grade for student3: "))
z=float(input("enter for final grade for student3: "))

student3 = (x,y,z)
s3=(0.3*x)+(0.3*y)+(0.4*z)

print("midterm grade for student3 is {0}, project grade for student3 is {1}, final grade for student3 is {2}" .format(x,y,z))
print("The passing grade: ",s3)


x=float(input("enter for midterm grade for studen4: ")) 
y=float(input("enter for project grade for student4: "))
z=float(input("enter for final grade for student4: "))

student4 = (x,y,z)
s4=(0.3*x)+(0.3*y)+(0.4*z)

print("midterm grade for student4 is {0}, project grade for student4 is {1}, final grade for student4 is {2}" .format(x,y,z))
print("The passing grade: ",s4)



x=float(input("enter for midterm grade for studen5: ")) 
y=float(input("enter for project grade for student5: "))
z=float(input("enter for final grade for student5: "))

student5 = (x,y,z)
s5=(0.3*x)+(0.3*y)+(0.4*z)
print("The passing grade: ",s5)

print("midterm grade for student5 is {0}, project grade for student5 is {1}, final grade for student5 is {2}" .format(x,y,z))


my_dictionary={ s1 : "student1", s2 :"student2", s3: "student3", s4: "student4", s5: "student5"}
print ("Sözlük: ", my_dictionary)

new_list=[s1, s2, s3, s4 , s5]
new_list.sort


print("Öğrencilerin sıralanmış halleri:", new_list)


# In[ ]:





# In[ ]:





# In[ ]:



    


# In[ ]:





# In[ ]:



    


# In[ ]:




