runtime
20 / 500
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 line3 here; Check also types other quantities
PrintsQty? on its own line, then qty: 3 <class 'int'>, then coupon: None <class 'NoneType'>
Expected output3 lines · typed 3
  1. 1Qty?
  2. 2qty: 3 <class 'int'>
  3. 3coupon: None <class 'NoneType'>

Loading your progress…

An order intake card — Python practice · Runtime