Answer:
mylist = [ ]
for i in range(7):
mylist.append (int(input("Enter the number of bugs for each day ")))
print(mylist)
print("The highest number of bugs is ")
print(max((mylist)))
Explanation:
- Create and Initialize an empty (mylist)
- Using the .append method, we request and add the bugs for each day into the list
- print out the list
- Use the max function to find the highest number of bugs in the list and print it out
Explanation:
1 Ms word - b. Word processing software
2 Pagemaker - c desktop publishing
3 Ms excel - f finance and data analyses
4 dbase - a database management system
6 Mcafee/Norton - d anti-virus software
7 virus - h computer program that can replicate itself
8 inbox, compose,.............. - parts of an email account
Answer:
Hi!
The correct answer is D. Depending on the value of x, either all three of the print statements will execute or none of the statements will execute
Explanation:
The IF statement checks the value of x and executes the next lines of code inside of the IF condition in case that is TRUE, else it skips up without execution of the lines inside the IF condition.
For example:
var x = 5;
if(x==5) { <em>// if 5=5? -> true -> executes the lines inside the If statement.</em>
print ("Is 5")
print ("Is Still 5")
print ("Third 5")
}
Answer: A method
Explanation:
The show Dialog is the type of method that is used by the file-dialog object for displaying itself. The main purpose of show-dialog is that it runs the common dialog box in the system with the default owner. It is basically inherited from the common-dialog.
The show-dialog is the type of method that displays the dialog box for defining the file extension filter and the various dialog behavior in the system.