Question: Unused Variable The function assert _ equal was given a definition on line 1 , ?but was never used after that. THistory from cisc 1
Unused Variable
The function assertequal was given a definition on line ?but was never used after that.
THistory
from cisc ?import assertequal
def candrinkage ?haslicense:
if age ?:
if age:
if haslicense:
return "Can drink"
else:
return "doesnt have license"
else:
return "too old"
else:
return "too young"
age
haslicense ?True
set se 000 " Import datasets ve license " Feedback: Unused Variable The function assert_equal was given a definition on line 1, but was never used after that. Upload 1 from cisc108 import assert_equal 234 SON History 3 def can_drink (age, has_license): 5 6 if age>=21: if age
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
