bbperic1236
bbperic1236 bbperic1236
  • 24-11-2019
  • Computers and Technology
contestada

What happens when the following code segment executes if test.txt does not exist?:
A,B,C,D?

What happens when the following code segment executes if testtxt does not exist ABCD class=

Respuesta :

r3t40
r3t40 r3t40
  • 24-11-2019

The answer is A.

In Python, if test.txt does not exists then opening it with mode 'w' will create new empty file.

Answer Link

Otras preguntas

The government under the Articles of Confederation consisted of А) only a unicameral legislature B) only executive and judicial branches C) only legislative and
How does acceleration experienced by different objects compare based on their masses? I give Brainliest!
who does the captain say is "brave"? what did this brave man do to deserve the titlefrom macbeth Act 1 Scene 2
What is 5/90 in decimal form? 0.06 0.056 0.05 0.05
Please help what word I need to put that have a short I sound. Thank you!
what makes you unique as a person
please help ME I BEG YOU​
find what x and y are
help with this question
Trong 300 người bệnh chỉ dùng thuốc A có 55% người khỏi; trong 240 người bệnh chỉ dùng thuốc B có 50% người khỏi. Với mức ý nghĩa 5% có thể nói thuốc A hiệu quả