# Lesson 2: variables and data types
customer = "Sharma Traders"        # str
qty = 12                           # int
rate = 60.0                        # float
gst_rate = 0.18
paid = False                       # bool

amount = qty * rate
gst = round(amount * gst_rate, 2)
total = amount + gst
print(f"{customer}: {qty} x Rs {rate:,.2f} = Rs {amount:,.2f}")
print(f"GST Rs {gst:,.2f}, total Rs {total:,.2f}, paid: {paid}")
print(type(customer).__name__, type(qty).__name__, type(rate).__name__, type(paid).__name__)
print("Text to number:", int("42") + 8, "| number to text:", str(42) + "8")
print("Name in capitals:", customer.upper(), "| length:", len(customer))
