In this chapter we introduce the formalization of online learning algorithms and the Follow the Leader (FTL) algorithm.