instead of: firstName = "John" lastName = "Henry" city = "Manchester" 1

instead of: firstName = “John” lastName = “Henry” city = “Manchester”

firstName, lastName, city = "John", "Henry", "Manchester"

Here is what the above code is Doing:
1. The firstName and lastName variables are assigned the values of the first and second arguments.
2. The city variable is assigned the value of the third argument.
3. If the third argument is not provided, the city variable is assigned the default value of “Manchester”.

Similar Posts