We have learned how to make a program and run it - albeit a fairly simple one. In this lesson we are going to change that program a little - We are going to end up with a program which asks our name, and then outputs hello - then your name.
Key learning:
Python
- Creating and calling a function (def key word)
- Using the input command (input() function)
No comments:
Post a Comment