Skip to content
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.