USING PYTHON  Exercise 1 Create a text file called  pi_digits.txt  as shown below .    1. Read the file  2. use readline() method  3. write a number to the existing file

icon
Related questions
Question

USING PYTHON 

Exercise 1

Create a text file called  pi_digits.txt  as shown below . 

 

1. Read the file 

2. use readline() method 

3. write a number to the existing file 

Exercise 1
Python-userstories read file.html
Create a text file called pi_digits.txt as shown below.
pi_digits.txt
3.1415926535
8979323846
2643383279
1. Read the file
2. use readline() method
3. write a number to the existing file
Transcribed Image Text:Exercise 1 Python-userstories read file.html Create a text file called pi_digits.txt as shown below. pi_digits.txt 3.1415926535 8979323846 2643383279 1. Read the file 2. use readline() method 3. write a number to the existing file
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 2 images

Blurred answer