Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
mean of numbers from file to file
Deerenaros
Nov 19th, 2019
268
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.16 KB
| None
|
0
0
raw
download
clone
embed
print
report
import
numpy
as
np
with
open
(
"numbers"
)
as
inp:
with
open
(
"mean"
,
"w"
)
as
out:
m
=
np.
fromiter
(
map
(
float
,
inp
)
,
dtype
=
np.
float
)
.
mean
(
)
print
(
m
,
file
=
out
)
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Get $12,000 from this mehtod
CSS | 29 sec ago | 0.86 KB
✅ Changelly Exploit
CSS | 22 min ago | 1.01 KB
Money comes easy nowadays
CSS | 22 min ago | 1.01 KB
Get $12,000 from this mehtod
CSS | 23 min ago | 0.86 KB
BTC SWAP GLITCH
CSS | 41 min ago | 1.01 KB
✅ Changelly Hacked
CSS | 41 min ago | 1.01 KB
Exploit Documentation
CSS | 41 min ago | 1.01 KB
# Exploit found by AI
CSS | 41 min ago | 1.01 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!