PROJECT-4

Program to check that are you eligible for which stream

print('Enter marks out of 100')

sub1= float(input('Enter marks of Hindi\n'))
sub2= float(input('Enter marks of Engish\n'))
mth= float(input('Enter marks of Maths\n'))
sc= float(input('Enter marks of Science\n'))
sub5= float(input('Enter marks of Sst\n'))
it= float(input('Enter marks of I.T\n'))

sumOs = sub1+sub2+mth+sc+sub5+it

percent = (sumOs/600)*100

if sub1>100 or sub2>100 or mth>100 or sc>100 or sub5>100 or it>100:
	print('You are lieing')
	
if sub1<35 or sub2<35 or mth<35 or sc<35 or sub5<35 or it<35:
	print('You are failed')
	
elif sumOs<230:
	print('You are not eligible for our school')
			
elif it>=75 and mth>=80 and sc>=80:
		print('You are eligile for science\n',percent,'%')

elif it>=50 and mth>=70 and sc>=60:
		print('You are eligile for commerece\n',percent,'%')
		
else:
	print('You are only eligible for Humanities\n',percent,'%')

Design a site like this with WordPress.com
Get started