---
title: "kanchana namdev (@kanchana) | Hashnode"
description: "kanchana namdev (@kanchana) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@kanchana"
---

@kanchana

# kanchana namdev

@kanchana · Joined May 2021

### [How to Print a Percentage Value in Python?](https://kanchananamdev.hashnode.dev/how-to-print-a-percentage-value-in-python?utm_source=hashnode&utm_medium=feed)

To print a percentage value in Python, use the str.format() method or an f-string on the format language pattern "{:.0%}". For example, the f-string f"{your\_number:.0%}" will convert variable your\_number to a percentage string with 0 digits precision...

1 min read · [kanchananamdev.hashnode.dev](https://kanchananamdev.hashnode.dev/how-to-print-a-percentage-value-in-python?utm_source=hashnode&utm_medium=feed)

[May 10, 2021](https://hashnode.com/posts/how-to-print-a-percentage-value-in-python/6099433021068818a5c6435b)
