1/8
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress
What does randient(10,20) produce?
A random integer in the specified range
What does file mode “r” mean?
READ
What does file mode “w” mean?
WRITE
What does file mode “a” mean?
APPEND
open(“data.txt”, “r”)
What are we doing?
Opening data.txt to READ IT
open(“data.txt”, “w”)
What are we doing?
Opening it to WRITE
What does .read() do?
Reads file contents
What does .write() do?
Writes information to a file
What should you do when finished with the file?
file.close()