1.

Evaluate the expression and write the final value of the following:i. 5+int (11/2) ii. 2+22%2​

Answer»

\textsf{\large \textbf{I. \:\:}} \texttt{5 + int(11 / 2)}\\\texttt{\hspace{1.5em} -> 5 + 5}\\\texttt{\hspace{1.5em} -> 10}

\textsf{\large \textbf{II. \:\:}} \texttt{2 + 22 \% 2}\\\texttt{\hspace{1.7em} -> 2 + 0}\\\texttt{\hspace{1.7em} -> 2}



Discussion

No Comment Found