Python Summary and Next Steps
You are about to build a small program of your own. Before that, read one line you could already write, and say what each part is. The line on the screen will be slip 2. slip is a word. 2 is a number. A function named note joins them.
def note(word, count):
return f"{word} {count}"
print(note("slip", 2))
The screen shows slip 2. slip is the word you passed in. 2 is the number you passed in. The space between them is in the return line, between the word and the number. print writes that one line, and then the program is done. There is no second line. You are not learning a new kind of line here. You are checking that a word, a number, and a call already make a line you can read.
Each part of slip 2 is something you have already used. slip is a stored word, the same kind of name as ticket_count holding 4. 2 is a whole number, with no decimal point. def note keeps the return line, and the line note("slip", 2) is the call that runs it. Leave the number out, as in note("slip"), and the call stops as TypeError, because count has no value. That call is not in this program. None is not written on the screen you do have.
You can now point at slip 2 and say which part is the word, which part is the number, and which call joined them. The next page is a small command-line program. You will build it from pieces you already have. This page does not add a new rule.
Read the line before you build
The screen is slip 2. The word is slip and the number is 2. The next page is a small command-line program.