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")
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:
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:
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:
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
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
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 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"
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
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.