Easy
Default Values in __init__
Write
class Order with __init__(self, item, qty=1). Read an item and a quantity; if the quantity line is -, create the order without it. Print QTY x ITEM.Input
Two lines.
Output
One line.
Sample 1
Input
tea 3
Output
3 x tea
Sample 2
Input
cake -
Output
1 x cake
Output appears here