question 14 Variables & Data Types · medium
The coupon that says None
This order has no coupon, and the program should record that there is no value. The printout looks right, but the kind line shows the program stored something else. Fix the stored value.
Prints
Coupon: None, then Kind: <class 'NoneType'>Expected output2 lines
- 1Coupon: None
- 2Kind: <class 'NoneType'>