Answered step by step
Verified Expert Solution
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
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started