Play with 2016-Python

I also tried Play with 2016 in Python.

python


import numpy as np

sum(range(64))
>>>
2016

sum(2**np.arange(5, 11))
>>>
2016

sum(np.arange(3, 10)**3)
>>>
2016

Recommended Posts

Play with 2016-Python
[Python] Play with Discord's Webhook.
Play RocketChat with API / Python
Play with Prophet
FizzBuzz with Python3
Scraping with Python
Statistics with python
Scraping with Python
Python with Go
Play with PyTorch
Integrate with Python
Play Python async
AES256 with python
Tested with Python
Let's play with Excel with Python [Beginner]
python starts with ()
with syntax (Python)
Bingo with python
Zundokokiyoshi with python
Play with CentOS 8
Play with Pyramid
Excel with Python
Play with Fathom
Microcomputer with Python
Cast with python
Play video with sound with python !! (tkinter / imageio)
Play audio files from Python with interrupts
Play handwritten numbers with python Part 2 (identify)
Fractal to make and play with Python
I want to play with aws with python
Serial communication with Python
Zip, unzip with python
Primality test with Python
Python with eclipse + PyDev.
Socket communication with Python
Data analysis with python 2
Scraping with Python (preparation)
Try scraping with Python.
Sequential search with Python
"Object-oriented" learning with python
Run Python with VBA
Solve AtCoder 167 with python
Serial communication with python
[Python] Use JSON with Python
Learn Python with ChemTHEATER
Run prepDE.py with python3
Collecting tweets with Python
3. 3. AI programming with Python
Kernel Method with Python
Non-blocking with Python + uWSGI
Scraping with Python + PhantomJS
Posting tweets with python
Drive WebDriver with python
Play with Othello (Reversi)
Use mecab with Python3
[Python] Redirect with CGIHTTPServer
Play youtube in python
Voice analysis with python
Think yaml with python
Operate Kinesis with Python
Getting Started with Python