You are viewing a single comment's thread. Return to all comments →
a = int(input())
b = int(input())
Is there any difference in terms of performance?
What is the significance of "%d" and % before printing the values
that name is a string (%s) and number is an integer (%d for decimal). See https://docs.python.org/3/library/stdtypes.html#printf-style-string-formatting for details