question 20 Variables & Data Types · hard
An order intake card
An intake screen reads a quantity and records that no coupon was given. Replace the two ??? so the card shows a whole-number quantity and a missing coupon, each followed by its kind.
Typed line
3 here; Check also types other quantitiesPrints
Qty? on its own line, then qty: 3 <class 'int'>, then coupon: None <class 'NoneType'>Expected output3 lines · typed 3
- 1Qty?
- 2qty: 3 <class 'int'>
- 3coupon: None <class 'NoneType'>