Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

python 1:write a function to write a several numbers in one line(at least 10 numbers) into a txt file. Then write another function to read

python
image text in transcribed
1:write a function to write a several numbers in one line(at least 10 numbers) into a txt file. Then write another function to read the several numbers and turn them into an array, and use a mask to set all values above 100(half of your number should exceed over 100) to be 100 and store the result into another txt file. Tips: map(int,list) could turn a string list to a int list

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2010 Barcelona Spain September 2010 Proceedings Part 2 Lnai 6322

Authors: Jose L. Balcazar ,Francesco Bonchi ,Aristides Gionis ,Michele Sebag

2010th Edition

364215882X, 978-3642158827

More Books

Students also viewed these Databases questions

Question

Write a short note on rancidity and corrosiveness.

Answered: 1 week ago

Question

Additional Factors Affecting Group Communication?

Answered: 1 week ago