Answer:
import os
def create_python_script(filename):
comments = "# new python script file"
with open(filename,"w+") as file:
file.write(comments)
filesize = os.path.getsize(filename)
print(f"The size of the file is: {filesize}")
create_python_script("program.py")
Explanation:
The os module is a built-in python file that is used to interact with the operating system terminal. The with keyword is used to create and open a file with write privileges with no need to close the file.
The path.getsize() method is used to get the size of the newly created file which is printed in the console.
Answer:
Nothing, just exit out of it
Explanation:
Better graphics getting 1080 p easily running on 240 frames and a higher storage so then you could have more games on the console
Explanation:
Let the size of a large server be L, and
the size of a small server be S.
We are given two scenarios,
2L+4S = 64.............(1)
and
L+3S = 40...............(2)
We solve the equations as follows
2(2)-(1)
2L-2L +6S-4S = 2*40-64
2S = 16
so S=8 ..................(3), size of small server
substitute (3) in (2)
L+3(8) =40
L = 40-24 = 16..............size of large server