Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create python-and-library.md #237

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions python/python-and-library.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
id: blog-entry-id
title: Python and Libraries
tags: Python, NumpPy
date: 2022-10-23
keywords: NumPy
categories: Python
author: Vaibhav
meta-description: NumPy useful for doing things like reverse array quickly
---

# Python and Libraries

Python along with so many libraries is a powerful language. These libraries not only help in doing complex and specific tasks but also trivial tasks which would have taken multiple lines of code.

One such library is numpy. This library offers a lot of mathematical functions to solve complex mathematical problems. But not only that, it also helps in doing simple tasks like reversing an array easily.

```py
import numpy
num = input()
numlist = list(num)
numlistr = numpy.flipud(numlist)
```

The above code will reserve the array numlist.