Question: 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
python 1:write a function to write a several numbers in one line(at

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!