We've learned that a qubit represents a combination between two things on opposite ends of some spectrum. So for each type of qubit, we need two things to combine. Here, we choose two items, which we'll call |"0"> and |"1">. We could name them |"Alice"> and |"Bob"> or anything we like, but in the quantum computing community, for these items, |"0"> and |"1"> are the convention.
If you say |"0"> and |"1"> referencing qubits, quantum computing experts will know what you mean. Here is the Python code to implement these qubits:
import numpy as np
zero_qubit=np.matrix('1; 0')
one_qubit=np.matrix('0; 1')
Note: the quantum computing community drops the quotation marks surrounding the names of qubits. Here I use them to emphasize that even when the names of qubits happen to be numbers, they are still just names. zero_qubit or |"0"> for example, does not equal 0. The purpose of the quotation marks is to make extra clear that "0" is just the name of the qubit and doesn't have anything to do with the integer 0.