---
title: "Discussion on \"A Very Simple Doctest Example\" | Hashnode"
description: "Discussion on \"A Very Simple Doctest Example\". I've only recently heard about Doctest in Python and thought it worth checking out. \nSimply put, Doctest will test portions of your Python code automatically. The magic of Doctest is that it's fairly easy to write!  \nI've been writing Python off and ..."
url: "https://hashnode.com/posts/a-very-simple-doctest-example/6030037272a689446db3cf59"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [A Very Simple Doctest Example](https://blog.ajbothe.com/a-very-simple-doctest-example?utm_source=hashnode&utm_medium=feed)

I've only recently heard about Doctest in Python and thought it worth checking out. Simply put, Doctest will test portions of your Python code automatically. The magic of Doctest is that it's fairly easy to write! I've been writing Python off and ...

Feb 19, 2021 · 9 min read · blog.ajbothe.com  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#python3](https://hashnode.com/tag/python3)
-   [#python-beginner](https://hashnode.com/tag/python-beginner)

## Written by

[AJ](https://hashnode.com/@ajbot)

@ajbot · Cincinnati, USA

  
[View profile](https://hashnode.com/@ajbot)

New findings daily...

I'm a technical advocate who it looking for new challenges. I will use this blog to post new challenges, find solutions and stay technically active.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
