Skip to content
free
K
1
2
practice
Home
Math
English
Science
Social Studies
Contact
Language
English
Español
Sign In
/
High School Electives
/
Computer Science
/
Text File Input and Output
Grade Level
Computer Science
HSCS.133 Text File Input and Output
0%
Skill Level
🔴 Hard
00:00
Progress to Next Level
25% to Medium
Easy
Medium
Hard
Mastery
100%
A file contains: red\n\nblue where the final blue line has no trailing newline. A loop processes lines whose strip() is not empty. Which lines are processed?
A
red only
B
blue only
C
red and blue
D
red, the blank line, and blue
Submit Answer