{"nbformat":4,"nbformat_minor":0,"metadata":{"colab":{"provenance":[],"generative_ai_disabled":true,"authorship_tag":"ABX9TyMuCuJVU+7HtaLRAnB76fLA"},"kernelspec":{"name":"python3","display_name":"Python 3"},"language_info":{"name":"python"}},"cells":[{"cell_type":"code","execution_count":null,"metadata":{"id":"uYavyI7x2Z-f"},"outputs":[],"source":["# Task 1\n","  # Add comments to explain:\n","    # How many arguments the function taskes\n","    # What the function does with the arguments\n","\n","def print_name(fName, sName):\n","  print(fName + \" \" + sName)\n","\n","print_name(\"Abraham\", \"Lincoln\")\n"]},{"cell_type":"code","source":["# Task 2\n","\n","\n","def my_function(country):\n","  print(\"I am from \" + country)\n","\n","\n","my_function(\"Brazil\")\n","\n","# Rename the function so that it has a sensible name. Don't forget to rename it when it is called.\n","\n","# Call the function with the argument 'Sweden'\n","\n","# Get the user to input a country. Store it in a variable. Call the function with the variable as the argument."],"metadata":{"id":"Efq7q74m3ISx"},"execution_count":null,"outputs":[]},{"cell_type":"code","source":["# Task 3\n","  # Follow the instructions in the code\n","\n","def times_table(num1):\n","  counter = 1\n","  while counter < 13:\n","    print(counter * # put the correct vairable here\n","    # Add code to increment the counter variable\n","\n","print(\"Enter a number\")\n","userInput = # Add code to get integer input here\n","\n","#Add code to call the times_table function with userInput as the argument here\n"],"metadata":{"id":"FdhhQgMN3OZr"},"execution_count":null,"outputs":[]}]}