CodeX
Published in

CodeX

What If The Death Note Accepted Regex?

# A fun regex exercise done in Python

You are now Light Yagami — protagonist of the anime Death Note. One day, you find the Death Note on the floor. On the first page, it states:

The human whose name is written in this note shall die.

If the cause of death is written within the next 40 seconds of writing the person’s name, it will happen.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Liu Zuo Lin

Software Engineer, Python Tutor, Tech Writer. My Free Ebooks — 1) Python Zero To One 2) 40 Python Practice Questions For Beginners — https://zlliu.co/books