The following function checks whether a number is Armstrong or not.
#An Armstrong Number is a number which is equal to the sum of the cube of its individual
#digit
def armstrong(n):
sum-0
i
while(?1?
d=" 2
im= su+ 57
74?
if 25?
return I
else:
return
a) What is the expression / value at ?1?
(b) What is the expression/ value at ?2?
c)What is the expression/ value at ?3?.
(d) What is the expression/ value at 24?
(e) What is the expression / value at 75?
python program
Answers
Answered by
0
Answer:
Evaluate algebraic expressions
Identify terms, coefficients, and like terms
Simplify expressions by combining like terms
Translate word phrases to algebraic expressions
In the last section, we simplified expressions using the order of operations. In this section, we’ll evaluate expressions—again following the order of operations.
To evaluate an algebraic expression means to find the value of the expression when the variable is replaced by a given number. To evaluate an expression, we substitute the given number for the variable in the expression and then simplify the expression using the order of operations.
please follow me friend and make me as brainliest
Similar questions