Complete-Python-3-Bootcamp
Complete-Python-3-Bootcamp copied to clipboard
blackjack problem in function practice
the solution given isnt accurate according to the problem statement so heres my version of it:
total = a+b+c
if total <= 21:
return total
elif 11 in (a, b, c):
total -= 10
if total > 21:
return 'BUST'