**kwargs
A parameter with two stars that collects extra keyword arguments into a dictionary.
Learn it in room 4.4 Default and keyword argumentsType to search. Each word links to the room where you first learn it.
A parameter with two stars that collects extra keyword arguments into a dictionary.
Learn it in room 4.4 Default and keyword argumentsA parameter with one star that collects any number of extra arguments into a tuple.
Learn it in room 14.3 *args and **kwargsThe share of predictions a model gets right.
Learn it in room 17.5 Measuring a modelAn exact list of steps, in the right order, that solves a problem.
Learn it in room 1.1 What is a program?Application Programming Interface: a way for programs to talk to each other, often over the web using JSON.
Learn it in room 16.3 Web APIs and JSONA list method that adds one item to the end of a list.
Learn it in room 5.3 Changing listsThe actual value you pass into a function when you call it, like "Zara" in greet("Zara").
Learn it in room 4.2 Parameters and argumentsA NumPy collection where every item has the same type, so maths can be done on all of them at once.
Learn it in room 8.1 Meet NumPy arraysA keyword that checks something is true and stops with an AssertionError if it is not. Used in tests.
Learn it in room 13.4 Test and debugStoring a value in a variable with =. Read it right to left: level = 7 puts 7 into level.
Learn it in room 2.2 VariablesA piece of data stored on an object, reached with a dot, like hero.health.
Learn it in room 11.1 Classes and objectsIn NumPy, the direction to work in. axis=0 goes down the columns; axis=1 goes across the rows.
Learn it in room 8.5 2D arrays and statisticsThe simplest case in a recursive function, answered directly so the recursion stops.
Learn it in room 12.1 RecursionWhen data or a model treats some groups unfairly, often because of unbalanced examples.
Learn it in room 17.7 Using AI responsiblyA way to describe how the work an algorithm does grows as the input grows, such as O(n) or O(log n).
Learn it in room 12.4 Big O: how fast is fast?Searching a sorted list by checking the middle and throwing away half each step.
Learn it in room 12.3 Binary searchA value that is either True or False.
Learn it in room 3.2 True, False and logicA keyword that stops a loop immediately.
Learn it in room 3.6 break and continueNumPy stretching a single value so it can combine with every item in an array.
Learn it in room 8.2 Array mathsRunning a function by writing its name with brackets, like show_banner().
Learn it in room 4.1 Your first functionA blueprint for making objects. It describes their data (attributes) and abilities (methods).
Learn it in room 11.1 Classes and objectsA note in code that starts with #. Python ignores it.
Learn it in room 2.1 CommentsA saved snapshot of your project in Git, with a message saying what changed.
Learn it in room 7.6 Git and GitHubA one-line way to build a list, dictionary or set from another sequence.
Learn it in room 5.7 List comprehensionsJoining strings together with +.
Learn it in room 2.5 Working with textA question with a True or False answer, used by if and while.
Learn it in room 2.8 Making decisions with ifA grid of real answers against predictions that shows which classes a model mixes up.
Learn it in room 17.5 Measuring a modelA value that should never change, written in CAPITALS by convention, like MAX_LIVES.
Learn it in room 4.8 Clean code with docstringsA keyword that skips the rest of the current loop turn and moves to the next one.
Learn it in room 3.6 break and continueComma-separated values: a plain text format for tables, one row per line.
Learn it in room 10.6 CSV: spreadsheet dataAn organised store of data in tables that programs can read and change safely.
Learn it in room 16.1 Databases and SQLA pandas table with rows and named columns, like a spreadsheet.
Learn it in room 15.1 Meet pandasA tool that pauses your program at a breakpoint so you can watch variables change line by line.
Learn it in room 13.4 Test and debugA value a parameter uses when the caller leaves that argument out.
Learn it in room 4.4 Default and keyword argumentsA collection of key and value pairs. You look values up by key.
Learn it in room 6.1 DictionariesA string in triple quotes under a def line that explains what the function does.
Learn it in room 4.8 Clean code with docstringsThe type of every item in a NumPy array, such as int64 or float64.
Learn it in room 8.1 Meet NumPy arraysShort for "else if": another condition checked only when the ones above were False.
Learn it in room 3.1 if, elif and elseA built-in that gives you a counter and each item together in a for loop.
Learn it in room 5.4 Looping through listsA backslash code inside text for a special character, like \n for a new line.
Learn it in room 1.3 print() power-upsAn error raised while a program runs, such as ValueError. It can be caught with try and except.
Learn it in room 10.3 Exceptions: try and exceptA string with f before the quotes, so you can put variables inside curly brackets.
Learn it in room 2.5 Working with textAn input used by a machine learning model, such as hours studied.
Learn it in room 17.1 What is machine learning?Data saved on a disk, so it survives after your program ends.
Learn it in room 7.4 Install VS CodeA built-in that keeps only the items for which a function returns True.
Learn it in room 5.7 List comprehensionsA small Python framework for building web apps.
Learn it in room 16.4 Your first web app with FlaskA number with a decimal point, like 3.5.
Learn it in room 2.3 Numbers and arithmeticA loop that runs once for each item in a sequence, such as a list or a range.
Learn it in room 5.4 Looping through listsA named block of code that does one job. You define it once and call it whenever you need it.
Learn it in room 4.1 Your first functionA function that uses yield to hand out values one at a time, pausing in between.
Learn it in room 8.3 Making arraysA version control tool that saves snapshots (commits) of your project.
Learn it in room 7.1 Why go local?A website that stores copies of Git repositories online, for backup and sharing.
Learn it in room 7.1 Why go local?A variable created outside all functions, which the whole program can read.
Learn it in room 4.5 Scope: where variables liveSplits rows into groups so you can summarise each group, such as the mean of each.
Learn it in room 15.5 Grouping and summarisingCannot be changed after it is made. Strings and tuples are immutable.
Learn it in room 5.5 Tuples and unpackingA keyword that loads a module so you can use its tools.
Learn it in room 4.6 Modules and the math libraryThe position of an item in a list or string. Counting starts at 0.
Learn it in room 5.2 Indexing and slicingA loop whose condition never becomes False, so it never ends.
Learn it in room 3.3 while loopsBuilding a new class on top of an existing one, so it gets all of its attributes and methods.
Learn it in room 11.6 InheritanceData that goes into a program, such as what the user types. input() reads a line of text.
Learn it in room 1.1 What is a program?A whole number, like 7 or -3. Its type is int.
Learn it in room 2.3 Numbers and arithmeticThe program that reads Python code one line at a time and runs it.
Learn it in room 1.2 Meet PythonA text format for saving dictionaries and lists. Websites and apps use it everywhere.
Learn it in room 10.5 JSON: saving structured dataA method that predicts by letting the k most similar examples vote.
Learn it in room 17.3 Nearest neighbours from scratchThe name you use to look up a value in a dictionary.
Learn it in room 6.1 DictionariesThe answer a machine learning model learns to predict, such as pass or fail.
Learn it in room 15.6 Charts with matplotlibA tiny one-line function with no name, like lambda x: x * 2. Often used as a sorting key.
Learn it in room 14.1 Lambda functionsAn ordered collection of values in square brackets that you can change.
Learn it in room 1.1 What is a program?A variable created inside a function. It only exists while the function runs.
Learn it in room 4.5 Scope: where variables liveCode that repeats. Python has for loops and while loops.
Learn it in room 3.3 while loopsPrograms that learn a rule from examples instead of being told the rule.
Learn it in room 17.1 What is machine learning?A built-in that applies a function to every item in a sequence.
Learn it in room 5.C Milestone 5: Inventory and mapAn array of True and False values used to keep only some items from another array.
Learn it in room 8.4 Indexing and filteringThe most popular Python package for drawing charts.
Learn it in room 15.6 Charts with matplotlibA function that belongs to an object, called with a dot, like name.upper().
Learn it in room 5.3 Changing listsThe rule a machine learning program has learned, which it uses to make predictions.
Learn it in room 17.1 What is machine learning?A Python file full of tools you can import, like math or random.
Learn it in room 4.6 Modules and the math libraryThe % operator: it gives the remainder after dividing.
Learn it in room 2.3 Numbers and arithmeticCan be changed after it is made. Lists and dictionaries are mutable.
Learn it in room 5.1 Lists"Not a number": how pandas and NumPy show a missing value.
Learn it in room 15.2 Loading and exploring dataNatural language processing: AI that works with human language.
Learn it in room 17.2 Text analysisA package for fast maths on arrays of numbers, used across data science.
Learn it in room 7.1 Why go local?A thing built from a class, with its own data and methods. Everything in Python is an object.
Learn it in room 11.1 Classes and objectsA symbol that does something to values, such as +, ==, and or %.
Learn it in room 2.8 Making decisions with ifWhat a program produces, such as text in the terminal.
Learn it in room 1.1 What is a program?When a model memorises its training examples but does badly on new ones.
Learn it in room 17.1 What is machine learning?A folder of modules containing an __init__.py file, imported with dots like game.dice.
Learn it in room 7.1 Why go local?A package for working with tables of data in Python.
Learn it in room 15.1 Meet pandasA variable named in a function's def line that receives an argument.
Learn it in room 4.2 Parameters and argumentsThe tool that downloads and installs Python packages.
Learn it in room 7.1 Why go local?A ? in an SQL query where a value goes, so the value is treated as data and never as code.
Learn it in room 16.2 Safe queries from PythonDifferent objects answering the same method call in their own way.
Learn it in room 11.7 PolymorphismA list of instructions a computer can follow.
Learn it in room 1.1 What is a program?A way to run your own code when an attribute is read or set, for example to keep health between 0 and 100.
Learn it in room 11.4 Properties and private dataNumbers that look random but are made by maths. A seed makes them repeat.
Learn it in room 4.7 Random numbersA sequence of numbers made by range(start, stop, step). It stops before stop.
Learn it in room 3.4 for loops and range()A function solving a problem by calling itself on a smaller version of it.
Learn it in room 12.1 RecursionPredicting a number, such as a score or a temperature, instead of a category.
Learn it in room 17.6 Predicting numbers: regressionA pattern for finding text, such as \d+ for one or more digits.
Learn it in room 9.7 Regular expressionsA folder tracked by Git, with its full history of commits.
Learn it in room 7.6 Git and GitHubSends a value back from a function to the code that called it.
Learn it in room 4.3 Return valuesA URL path in a web app, connected to the function that builds that page.
Learn it in room 16.4 Your first web app with FlaskPython's main machine learning library, imported as sklearn.
Learn it in room 17.4 scikit-learn: your first modelThe part of a program where a variable exists: local (inside a function) or global.
Learn it in room 4.5 Scope: where variables liveWhether a piece of text sounds positive, negative or neutral.
Learn it in room 17.2 Text analysisA special value, like -1, that means "stop" when entering data in a loop.
Learn it in room 3.5 Counters and running totalsOne labelled column of data in pandas.
Learn it in room 15.1 Meet pandasAn unordered collection with no duplicates.
Learn it in room 3.8 Stats detectiveA chunk of a list or string, like items[1:4]. It stops before the end number.
Learn it in room 5.2 Indexing and slicingStructured Query Language: the language for asking a database questions.
Learn it in room 16.1 Databases and SQLAn attack where someone types SQL code into an input. Stopped by using ? placeholders.
Learn it in room 16.2 Safe queries from PythonA small database stored in a single file, built into Python as sqlite3.
Learn it in room 16.1 Databases and SQLWhere Git keeps the changes you have added with git add, ready for the next commit.
Learn it in room 7.6 Git and GitHubA number a web server sends back: 200 means OK, 404 means not found, 400 means bad request.
Learn it in room 16.3 Web APIs and JSONVery common words like the and and that are removed before analysing text.
Learn it in room 17.2 Text analysisText in quote marks. Its type is str.
Learn it in room 2.5 Working with textA class that inherits from another class, called its parent.
Learn it in room 11.6 InheritanceA grammar mistake in code, such as a missing bracket. Python stops before running anything.
Learn it in room 1.4 Errors are cluesHTML with gaps, like {{ name }}, that the web app fills in. Values are escaped for safety.
Learn it in room 16.5 Templates and formsA window where you control the computer by typing commands.
Learn it in room 0.1 Welcome to CodePythonA length of time, such as 60 days. Subtracting two dates gives one.
Learn it in room 14.5 Dates and timesLetting a model learn from examples, done with fit() in scikit-learn.
Learn it in room 17.1 What is machine learning?A block of risky code. If an exception happens, Python jumps to the matching except block.
Learn it in room 10.3 Exceptions: try and exceptAn ordered collection in round brackets that cannot be changed.
Learn it in room 5.5 Tuples and unpackingThe kind of a value, such as int, float, str or bool.
Learn it in room 2.6 Getting inputSplitting a tuple or list into separate variables in one line, like x, y = point.
Learn it in room 5.5 Tuples and unpackingA name that labels a box in memory holding a value.
Learn it in room 2.2 VariablesA private folder of packages for one project, so projects do not clash.
Learn it in room 7.1 Why go local?A loop that repeats as long as its condition stays True.
Learn it in room 3.3 while loopsHands back one value from a generator and pauses until the next value is asked for.
Learn it in room 14.4 Generators and yieldA built-in that pairs up items from two or more sequences.
Learn it in room 14.2 map, filter and zip