---
title: "Discussion on \"Top 5 py tricks..\" | Hashnode"
description: "Discussion on \"Top 5 py tricks..\". 1.FACTORIAL OF A NUMBER\n                                  To find the factorial of any number don't need of four to five lines of code in python as of c,c++,java.Just import math module then follow the code as\n  import math\n  print(math.factorial(5))..."
url: "https://hashnode.com/posts/top-5-py-tricks/601d64141054fa16dadd79ef"
---

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

Discussion

# [Top 5 py tricks..](https://prasannarv.hashnode.dev/top-5-py-tricks?utm_source=hashnode&utm_medium=feed)

1.FACTORIAL OF A NUMBER To find the factorial of any number don't need of four to five lines of code in python as of c,c++,java.Just import math module then follow the code as import math print(math.factorial(5))...

Feb 5, 2021 · 1 min read · prasannarv.hashnode.dev  
Updated May 30, 2021  
Read the article

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

## Written by

[Prasanna](https://hashnode.com/@RVPrasanna)

@RVPrasanna · Chennai,India

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

Eat and code

I am an Engineering student from India.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
