
December 22nd, 2012, 06:36 PM
|
|
Contributing User
|
|
Join Date: Dec 2012
Posts: 76
  
Time spent in forums: 1 Day 3 h 26 m 18 sec
Reputation Power: 2
|
|
|
1. The first (and only) parameter of the function is called "name". When you call the function with the argument "fred", that value is bound to the name "name" in the function's scope. Note, however, that you can explicitly call print_welcome(name="fred") instead, with the same result.
2. I'm not sure exactly what was meant here. Perhaps what whoever said this was trying to communicate is that whitespace (specifically indentation) is significant in Python.
|