1.

32.i) Consider the following code containing mixed arithmetic expression. What will bethe final result and the final data type?Ch=5 #integeri=2 # integerf1=4 #integerdb=5.0 #floating point numberfd=36.0 #floating point numberA=(ch+i)/db #expression 1B=fd/db*ch/2 #expression 2print(A)print(B)ii) Find the various components used in this structure of python program:#This is the python programming# Definition of functiondef sample():print(“This is the sample program”)#Main program code follows nowa=10b=a-5print(a+2)if b>5:print(“Value of 'a' was more than 15 initially”)else:print(“Value of 'a' was 15 or less initially.”)sample()

Answer»

ANSWER:

The MATH is fun if you think that math is math you not understand math solve math like it is REAL life and then there is no problem to solve math EQUATION or problem



Discussion

No Comment Found