wage = float(input("Enter the wage: $"))
regular_hours = float(input("Enter the regular hours: "))
overtime_hours = float(input("Enter the overtime hours: "))
print(f"The total weekly pay is ${(regular_hours * wage) + ((wage*1.5) *overtime_hours)}")
I hope this helps!
Xcode, Swift, and Appy Pie are all tools for doing what?
writing code in C#
creating smartphone apps
creating apps to run on a desktop or laptop
writing code in Java
Answer:
creating smartphone apps
Explanation:
Xcode, Swift, and Appy Pie are all tools for creating iOS applications.
These tools are used for app development in the iOS platform which is a rival to the Android platform.
They are used to build the apps from scratch, develop and test them,
Answer:
smart phone apps
Explanation:
I have to drag it to the correct definition plz help!
Answer:
Copyright - 1
Derivative works - 4
Intellectual property - 3
Fair use - 2
Explanation:
Explain the following terms as used in word processin
(a)
Drop cap
(b) A superscript
An indent
Answer:
A drop cap (dropped capital) is a large capital letter used as a decorative element at the beginning of a paragraph or section. The size of a drop cap is usually two or more lines.
a superscript is a character(s) half the height of a standard character and printed higher than the rest of the text.
In word processing, the word indent is used to describe the distance, or number of blank spaces used to separate a paragraph from the left or right margins.
When viewing the Mail Merge Recipients dialog box, what kinds of actions can you perform? Check all that apply. find recipient filter recipients print recipients sort column headings select/deselect recipients
Answer:
a,b,d,e on edg 2020
Explanation:
Answer:
Everything is correct except option 3/letter C.
Explanation:
A, B, D, and E
THIS IS PYTHON QUESTION
d = math.sqrt(math.pow(player.xcor() - goal.xcor(), 2) + math.pow(player.ycor()-goal.ycor(), 2))
here is the error message that I am getting when I run this using the math module in python: TypeError: type object argument after * must be an iterable, not int
Answer:
ok
Explanation:yes
What are technology trends in science check all that apply
Answer:
3D Printing Molecules.
Adaptive Assurance of Autonomous Systems.
Neuromorphic Computing (new types of hardware) and Biomimetic AI.
Limits of Quantum Computing: Decoherence and use of Machine Learning.
Ethically Trustworthy AI & Anonymous Analytics.
Explanation:
Write a program that asks the user to enter the size of a triangle (an integer from 1 to 50). Display the triangle by writing lines of asterisks. The first line will have one asterisk, the next two, and so on, with each line having one more asterisk than the previous line, up to the number entered by the user. On the next line write one fewer asterisk and continue by decreasing the number of asterisks by 1 for each successive line until only one asterisk is displayed. (Hint: Use nested for loops; the outside loop controls the number of lines to write, and the inside loop controls the number of asterisks to display on a line.) For example, if the user enters 3, the output would be:_______.a. *b. **c. ***d. **e. *
Answer:
Implemented using Python
n = int(input("Sides: "))
if(n>=1 and n <=50):
for i in range(1,n+1):
for j in range(1,i+1):
print('*',end='')
print("")
for i in range(n,0,-1):
for j in range(i,1,-1):
print('*',end='')
print("")
else:
print("Range must be within 1 and 50")
Explanation:
This line prompts user for number of sides
n = int(input("Sides: "))
The line validates user input for 1 to 50
if(n>=1 and n <=50):
The following iteration uses nested loop to print * in ascending order
for i in range(1,n+1):
for j in range(1,i+1):
print('*',end='')
print("")
The following iteration uses nested loop to print * in descending order
for i in range(n,0,-1):
for j in range(i,1,-1):
print('*',end='')
print("")
The following is executed if user input is outside 1 and 50
else:
print("Range must be within 1 and 50")
Mrs Jones had p hens then she decided to buy p more hens. how many hens does she have in all?
Answer:
2p
Explanation:
if she had p, then she got p again, she got two p amounts. p+p = p*2 = 2p
1. Discuss data processing concepts and the representation of data in the computer
2. Explain how they work together to process data
Answer:
gkvjbdsvjnmfbhui jgbfdshjcxvabgsuciusgBFIULWGSfuRyt vqwyrgfgweVGYGTV7BWUIEGDWYUGDCYg
Explanation:
Work made for hire. If an employer asks an independent designer to create an illustration, the copyright to that artwork is owned by the employer. true or false?
Answer:
False
Explanation:
On the basis of the designer being "independent", the artworks copyright remains with the designer. Being independent requires contractual transfer of copyright in the event that its created for another person.
Write a program which has your own versions of the Python built-in functions min and max. In other words, write the functions called maximum(aList) and minimum(aList) that do the job of the built-in Python functions max(aList) and min(aList)respectively. They should take a list as an argument and return the minimum or maximum element . Test your functions with the list [7, 5, 2, 3, 1, 8, 9, 4]. Hint: Pick the first element as the minimum (maximum) and then loop through the elements to find a smaller (larger) element. Each time you find a smaller (larger) element, update your minimum (maximum).
Answer:
def maximum(aList):
highest = aList[0]
for number in aList:
if number > highest:
highest = number
return highest
def minimum(aList):
lowest = aList[0]
for number in aList:
if number < lowest:
lowest = number
return lowest
print(maximum([7, 5, 2, 3, 1, 8, 9, 4]))
print(minimum([7, 5, 2, 3, 1, 8, 9, 4]))
Explanation:
Create a function named maximum that takes one parameter, aList
Initialize the highest as the first number in aList
Create a for loop that iterates through the aList. Compare each number in aList with highest. If a number is greater than highest, set it as new highest.
When the loop is done, return the highest
Create another function named minimum that takes one parameter, aList
Initialize the lowest as the first number in aList
Create a for loop that iterates through the aList. Compare each number in aList with lowest. If a number is smaller than lowest, set it as new lowest.
When the loop is done, return the lowest
Call the functions with given list and print the results
1) An employer has decided to award a weekly pay raise to all employees by taking the square root of the difference between his weight and the employee’s weight. For instance, an employee who weighs 16 pounds less than the employer will get a $4 per week raise. The raise should be in whole dollars (an int). Write a class file that prompts the user for the employee and the employer weight. Please output the correct raise amount making sure that all inputs are included in the output statement.
Answer:
Written in C++
#include <iostream>
#include<cmath>
using namespace std;
int main(){
int weight1, weight2, diff;
cout<<"Employees Weight: ";
cin>>weight1;
cout<<"Employers Weight: ";
cin>>weight2;
diff = abs(weight1 - weight2);
float pay = round(sqrt(diff));
cout<<pay;
return 0;
}
Explanation:
I've added the source file as an attachment where I used comments as explanation
what is the output? there are no answer options and I'm completely lost.
>>>answer = "five times"
>>>answer[2:7]
The string answer = "five times"
All strings start at index 0 and end at the length of the string minus 1
So, if we count appropriately, index 2 is v and index 7 is m
answer[2:7] goes from v to m including v but not m, therefore,
answer[2:7] = "ve ti"
The European Union requires companies to:
a
erase user data when requested.
b
keep all data open source.
c
never sell data.
d
delete all personal customer data after two years.
Answer:
C is the correct
Explanation: