Answer:
Explanation:
In Python you need to give access to a file by opening it. You can do it by using the open() function. Open returns a file object, which has methods and attributes for getting information about and manipulating the opened file.
https://eecs.wsu.edu/~cs150/tutorial/file/code11_3.html
Look at this link it may help.
Answer:
The CPU is the brain of a computer
Answer:
public class Main
{
public static void main(String[] args) {
Main m=new Main();
System.out.println(m.mymath(true,5,2)); // calling the function mymath
}
public int mymath(boolean a,int b,int c) // mymath function definition
{
if(a==true)
{
int d=b+c;
return d;
}
else{int e=b-c;
return e;
}
}
}