How do you read the first n lines from a file in Python?
How do you read a specific number of characters from a file in Python?
How do you check if a string contains only numeric characters in Python?
What is the purpose of the "print()" function in Python?
What is the output of the following code?
python
s = "Hello, World!"
print(s.split(","))
What is the purpose of the "w" mode when opening a file in Python?
How do you read input from a file in Python?
How do you check if a string ends with a specific suffix in Python?
How do you close a file in Python?
How do you check if a string starts with a specific prefix in Python?