Friday, December 4, 2020

python day5, comments,if else introduction

 #################################################

##########this is program developed by Mr. Praveen

######## developed on :05-12-2020

### this is the simple operators testing

###second time developed by Mr. Anil

########################

a=10

b=20

#c=0


'''

#comments

1.single line comments

#

2.multiline comments

  your lines comes here  

'''


'''

#addition

c=a+b

print(type(a),type(b),type(c))

print("type c after additon",c)

#substraction

c=a-b

print(c)

c=int(a/b)

print(type(a),type(b))

print("this is after division",type(c),c)

c=b//a

print("this is testing",c,type(c))


if a>=20 and a==20:#a=10<10 10<20

    print("if",a)

else:

    print("else",a)

    '''

    

#input()======>takes the input user

'''

total_marks=int(input("please enter a number:"))

print(total_marks)

if total_marks >=75:

    print("distinction")

'''

while a==10:

    total_marks=int(input("please enter a number:"))

    print(total_marks)

    if total_marks >=75:

        print("distinction")

        print(a)

    elif total_marks>50 and total_marks<75:

        print("c grade")

    else:

        print("your not given any grade")

python class topic video