Python ord() and chr() Functions Explained

In this article we will explore how to use the Python ord() and chr() functions

Misha Sv
Towards Data Science
3 min readJan 12, 2023

--

Photo by Brett Jordan on Unsplash

Table of Contents

  • Introduction
  • Convert a character to Unicode code point using ord()
  • Convert a string to Unicode code points using ord()
  • Convert an integer…

--

--