Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, wh
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, wh
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, wh
The sheer number of stunningly beautiful spots in this country is why the people who live here often call it God's country.
North or South Island?
Well, that depends. Both are beautiful and boast gorgeous secluded areas. Each has its own areas of awesome.
North Island
There are more humans on the North island, but the beauty is no less accessible. You can surf the famous and beautiful Raglands, or chill out in the stunning serenity of the Coromandel. If you are lucky enough to get to the Bay of Islands, you will find some of the most beautiful scenery in the world with a thriving Maori culture to dive into and embrace with aroha.
South Island
To the people that call this land their home, it is Mainland New Zealand. From the mouthwateringly jawdropping beauty of the Abel Tasman on a sunny day to the rich, vibrant and lush Stewart Island—the South Island offers solitude, recreation, and a feast for the eyes.
Quiz Time!
What do you already know about Aotearoa?
⁋¶🟣🗨 What are Functions?
🗯
💬
Functions
are a convenient way to divide your code into useful blocks, allowing us to order our code, make it more readable, reuse it and save some time. Also functions are a key way to define interfaces so programmers can share their code.
😊 How do you write functions in Python?
As we have seen on previous tutorials, Python makes use of blocks.
Socratica has an engaging and instructive way to help make sense of the incredible time savings, and power in using functions. Work through the videos below at your own pace. Put the code into your own Python editor and follow along to help you grasp the syntax. The single video has been broken into chunks so you can work at your own pace.
Avoid deja-vu—learn how a function is a primary tool in your Python toolbox
HERE WE CAN PUT A TEXT BASED EXPLANATION OF FUNCTIONS USING ALL THE TOOLS WE HAVE TO SHOW/COPY/RUN CODE.
Define a simple function
Let's return to Socratica and follow along while she builds the simplest of functions. We'll start with one that does nothing and build from there. Note that she uses the terms inputs and arguments interchangeably, which is also another way of saying parameters
Create a variable from a return value
Write a function that has a return that is used as the argument when it's executed.
To do this, you will import that math module.
But wait - what happens if an argument is required, but not provided?
Write a function with more than one argument.
Docstring is a comment within the code that helps you and everyone that reads your code to figure out what was in your head when you wrote it.
Using keyword arguments.
You will see why they are also called "default" arguments. Watch how the function is called whether you provide one or both of the requested inputs.
What are some of the aspects of 'clean code'?
"...it is better to write clean code which is easy to read, as opposed to compact code—which impresses no one. --Socratica"
Importance of Clean Code
Writing clean code has a number of benefits. For instance, clean code is:
- easy to understand
- more efficient
- easier to maintain, scale, debug, and refactor
- It also tends to require less documentation.
Code Standards
Code standards are collections of coding rules, guidelines, and best practices. Each programming language comes with its own coding standards, which should be followed in order to write cleaner code. They usually address:
- file organization
- programming-practices and principles
- code formatting (indentation, declarations, statements)
- naming conventions
- comments
This function uses keywords and required arguments
How well do you remember what you have learned about functions?
Answer these questions to test your understanding of functions, arguments and some of the syntax around them.
Wrapping up functions with Socratica.
">
The beauty of NZ Rivers
Too bad they have cow poop all through them now.
NZ's majestic mountains
There is a great quote at the bottom of the page. Skip to it if you like. 1
Stunning beauty to be enjoyed in relative peace and quiet. It's commonly considered a gorgeous place in the world, as you can see by this quote:
Known for its stunning landscapes and abundant sheep, the picturesque country of New Zealand is one of the most beautiful places in the world!
Geography
See if you can drag the images on the right to their correct spot on the map.
Don't go chasing waterfalls
Please stick to the rivers and the lakes that you're used to.
And now to test your knowledge of....
Network Security!
...I'm guessing you didn't expect that.
another
This is not an image.
First I put in the Case Study background without the italix.
Example 1: original code
Example 2: code with an inline style using % for responsiveness
Assets | = | Liabilities | + | Owner's equity | ||||||||
Assets | = | Liabilities | + | Capital | + | Retained earnings | ||||||
Assets | = | Liabilities | + | Beginning capital | + | Additional contributions | + | Income | - | Expenses | - | Dividends |
Scenarios:
Check in for Orientation (on the practice assessment page):
Reflections:
Consolidating learning around future planning:
On this page
About your TFN
A tax file number (TFN) is your personal reference number in the tax and superannuation systems.
It is free to apply for a TFN.
Your TFN is:
- a unique number (usually 9 digits)
- an important part of your identity
- yours for life – you keep your TFN even if you change jobs or name, move interstate or go overseas.
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
Where to find your TFN
If you already have a TFN, you can find it:
- in the ATO app or your ATO online account if you have a myGov account linked to the ATO
- on your income tax notice of assessment
- on some of the letters we send you
- on a payment summary or income statement from your employer
- on your superannuation account statement.
If you use a registered tax agent, you can also ask them for your TFN.
Contact us as soon as possible if you think your TFN is lost, stolen or being misused.
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
If you don't already have a TFN
You can apply for a TFN at any age. However, if you apply online using myGovID, you must be 15 years old or older and have a passport.
Not having a TFN
You don’t have to have a TFN, but without one, your employer or financial institution must withhold more tax from payments they make to you. Without a TFN, you:
- can't apply for government benefits or allowances, such as JobSeeker
- can't lodge your tax return online
- can't apply for an Australian business number (ABN).
- Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
- Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
- Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
When you will get your TFN
You generally receive your TFN within 28 days after we receive your completed application and required identity documents. We will send your TFN to the postal address or email address you put on your application, depending on how you apply.
For Australian citizens (15 years old or older) with an Australian passport, our beta application process may mean you receive your TFN much sooner.
If you haven't received your TFN after 28 days, contact us.
Keep your TFN and personal details safe
Make sure you protect your identity by keeping all your personal details secure, including your TFN.
Someone only needs basic details, such as your name, date of birth, address, myGov details or TFN, to commit identity fraud or scams.
Only disclose your TFN to people and organisations that require it for legitimate reasons, such as:
- us – the Australian Taxation Office (ATO) – when discussing your tax records
- your employer when you start work
- your bank or financial institution
- other government agencies to claim benefits
- your superannuation fund
- your university.
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
We also have an Easy Read version of this – What is a tax file number?
About your TFN
A tax file number (TFN) is your personal reference number in the tax and superannuation systems.
It is free to apply for a TFN.
Your TFN is:
- a unique number (usually 9 digits)
- an important part of your identity
- yours for life – you keep your TFN even if you change jobs or name, move interstate or go overseas.
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
Where to find your TFN
If you already have a TFN, you can find it:
- in the ATO app or your ATO online account if you have a myGov account linked to the ATO
- on your income tax notice of assessment
- on some of the letters we send you
- on a payment summary or income statement from your employer
- on your superannuation account statement.
If you use a registered tax agent, you can also ask them for your TFN.
Contact us as soon as possible if you think your TFN is lost, stolen or being misused.
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
If you don't already have a TFN
You can apply for a TFN at any age. However, if you apply online using myGovID, you must be 15 years old or older and have a passport.
Not having a TFN
You don’t have to have a TFN, but without one, your employer or financial institution must withhold more tax from payments they make to you. Without a TFN, you:
- can't apply for government benefits or allowances, such as JobSeeker
- can't lodge your tax return online
- can't apply for an Australian business number (ABN).
When you will get your TFN
You generally receive your TFN within 28 days after we receive your completed application and required identity documents. We will send your TFN to the postal address or email address you put on your application, depending on how you apply.
For Australian citizens (15 years old or older) with an Australian passport, our beta application process may mean you receive your TFN much sooner.
If you haven't received your TFN after 28 days, contact us.
Keep your TFN and personal details safe
Make sure you protect your identity by keeping all your personal details secure, including your TFN.
Someone only needs basic details, such as your name, date of birth, address, myGov details or TFN, to commit identity fraud or scams.
Only disclose your TFN to people and organisations that require it for legitimate reasons, such as:
- us – the Australian Taxation Office (ATO) – when discussing your tax records
- your employer when you start work
- your bank or financial institution
- other government agencies to claim benefits
- your superannuation fund
- your university.
- Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
- Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
- Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.