The program to illustrate the information is given below.
num_cards = 5 #Assuming value of num_cards is 5 (You can take any value you want)
if num_cards<7 :
num_cards=7
print(num_cards)
def dice_eval(x,y):
if (x+y== 7)|(x+y== 11) :
return "Winner!"
elif (x+y== 2)|(x+y== 3)|(x+y== 12) :
else:
a = x+y
if a<10:
return "Point is 0"+ str(a)
else :
return "Point is " + str(a)
Example -
dice_eval(0,8) returns 'Point is 08'
Learn more about programs on:
https://brainly.com/question/26642771
#SPJ1