Computer Science, asked by suriyasankar1974, 6 months ago

32.i) Consider the following code containing mixed arithmetic expression. What will be
the final result and the final data type?
Ch=5 #integer
i=2 # integer
f1=4 #integer
db=5.0 #floating point number
fd=36.0 #floating point number
A=(ch+i)/db #expression 1
B=fd/db*ch/2 #expression 2
print(A)
print(B)
ii) Find the various components used in this structure of python program:
#This is the python programming
# Definition of function
def sample():
print(“This is the sample program”)
#Main program code follows now
a=10
b=a-5
print(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()

Answers

Answered by mudasirmoosa90
0

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

Similar questions