Question: I Question 4: Fix the Syntax Errors A def tens_digit(n): #n=1/10=n. # return n%10 ( begin{array}{l} prime prime prime text { Test } 4 text
"I" Question 4: Fix the Syntax Errors A def tens_digit(n): #n=1/10=n. \# return n%10 \( \begin{array}{l} \prime \prime \prime \text { Test } 4 \text { "" } \\ \text { def } \text { test_tens_digit }(): \\ \text { print("Testing tens_digit...", en } \\ \text { assert(tens_digit }(1234)==3 \text { ) } \\ \text { assert(tens_digit }(42)==4) \\ \text { assert(tens_digit(9) }==0) \\ \text { print("... done!") }\end{array} \)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
