1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Dima020 [189]
2 years ago
12

I'm not sure how to solve this problem

Computers and Technology
1 answer:
Orlov [11]2 years ago
7 0

Answer:

A and D

Explanation:

result is a boolean that is true only if val1 is true and val2 is false. Option <u>(A)</u> works because it proceeds if val1 and not val2. Options B and C do not work, but option D does. In option D it says if val1 is true, and val2 is false, only then will result be true, otherwise it is false. Therefore the answers are (A) and (D).

You might be interested in
When entering numbers that start with a zero, apply the _____ number format.
yuradex [85]

Answer:

The Answer is gonna be D. Zero decimal

3 0
2 years ago
Which is a key component to participating in a school-to-work program? A. Dual enrollment opportunities B. Community service opp
PtichkaEL [24]
The answer is D. Job shadows
5 0
3 years ago
Read 2 more answers
When operating a user interacts with
forsale [732]

Answer:

The operating system

Explanation:

8 0
2 years ago
3. with a dui charge on a driver’s record ______________. a. the price of his or her insurance greatly increases b. he or she ma
djyliett [7]
<span>The answer to your question is D. both A and C</span>
7 0
3 years ago
The Payroll Department keeps a list of employee information for each pay period in a text file. The format of each line of the f
user100 [1]

Answer:

import pandas as pd

filename = input("Enter file name with the extension included: ")

data = {}

with open("filename", "r") as file:

   content = file.readlines()

   for line in content:

       line_list = line.strip().split(" ")

       data[line_list[0]] = line_list[1] * line_list[2]

       del line_list

report = pd.DataFrame(list(data.items()), columns = ["lastname", "wages paid"])

print(report)

Explanation:

The python module prompts the user for the file name and opens the text file to extract the employee data with the python open function. It iterates over the file content and saves the last name and the wages paid to the employees ( the hours worked multiplied by the hourly rate) in the dictionary "data".

The dictionary is converted to a dataframe with the Pandas python package and displays the data in tabular format on the screen.

8 0
2 years ago
Other questions:
  • Knowledge of html and css is considered essential for the job of a(n _______.
    11·1 answer
  • What is the e-file rejection error for an Invalid bank account or routing transit numbers?
    5·1 answer
  • Isaac is researching Abraham Lincoln’s life for a social studies report. He finds an encyclopedia that includes original letters
    5·2 answers
  • The point at coordinates (2, -18) is in what direction from the origin?
    7·1 answer
  • What key should you press and hold to select and open multiple files at one time? Enter Alt Control Esc
    12·2 answers
  • I need help plzzzzzzzz
    10·2 answers
  • Deleting anitem from a linked list is best when performed using two pointersso that the deleted item is freed from memory.
    7·1 answer
  • What software application is most appropriate to use to create multimedia presentations?
    6·2 answers
  • The underlying color of a slide.
    9·1 answer
  • Question 8 of 10
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!