The program asks for a name and a city and prints a name tag. Type them in the Input box, one on each line, and press Run. It uses f-strings, .title(), .upper() and len().
This code calls input() 2 times: one value per line, above, in the same order.
Log in to join the discussion.
Loading…