Answer:
Below is the required code:
Explanation:
Python Code
import os
import bin
dir = input("Please specify the location to the directory")
list = os.walk(dir)
a = length(list[1])
b = length(list[2])
print "Files: %n , Sub-dirs : %n" % (b,a)
decision = _(" Do you want to continue? (y/n) "))
if(decision):
cls
else :
exit()
Answer:
// program in java.
import java.util.*;
// class definition
class Main
{// main method of the class
public static void main (String[] args) throws java.lang.Exception
{
try{
// object to read input
Scanner scr=new Scanner(System.in);
// ask to enter name
System.out.print("Enter Your name: ");
// read name from user
String NAME=scr.nextLine();
// print message
System.out.println("Greetings,"+NAME);
}catch(Exception ex){
return;}
}
}
Explanation:
Read name from user with the help of scanner object and assign it to variable "NAME".Then print a Greetings message as "Greetings,NAME" where NAME will be replaced with user's input name.
Output:
Enter Your name: Rachel
Greetings,Rachel
On the status bar,Windows button, and then click the file name.click to display the Excel jump list, and then click the file name. On the View tab, in the Window group, click Switch Windows, and then click the file name. and also hint you can do alt tab but alt first and then tab
Answer:
The following are the code to this question:
code:
System.out.println(x); //use print method to print value.
Explanation:
In the given question, it simplifies or deletes code in the 11th line. This line has a large major statement.
In the case, the tests fail because only 1 line of output is required by the tester, but two lines are obtained instead.
It's to demonstrate that the input/output or testing requirements function throughout the model.
Answer:
Subjects with a lot of <u>Visuals </u>make focusing easier
Explanation:
Visuals contents make a subject more focusing and interesting for the students. Students can learn that courses easily that have more pictorial content. It is the famous quote that "A picture is better than thousand words to understand".