What describes an original image that has text added and is shared freely online, usually for humor?
O A. remix
О в. meme
O C.
O D.
mashup
derivative
Reset
Next

What Describes An Original Image That Has Text Added And Is Shared Freely Online, Usually For Humor?O

Answers

Answer 1

Answer:

b

Explanation:


Related Questions

A __________ variable is used to keep track of the number of loops that have been executed. python (it is not 'counter' as the answer)

Answers

We use enumerate instead of counter.

How to use Python’s enumerate() ?

It is almost identical to using the original iterable object that you can use enumerate() in a loop. Place the iterable inside the parentheses of the enumerate statement rather than right after in the for loop (). Additionally, as demonstrated in the following example, you must slightly alter the loop variable:

>>> for count, value in enumerate(values):

print(count, value)

Enumerate() returns two loop variables when used, as follows:

number of the most recent iteration

The item's value as of the current iteration

The loop variables can have any name you want, just like with a regular for loop. In this example, count and value are used, but they could also be called I and v or any other legal Python names.

Enumerate() eliminates the need to recall both accessing the item from the iterable and remembering to advance the index at the conclusion of loop. Python's magic takes care of everything for you automatically!

To know more about loop, check out:

brainly.com/question/25955539

#SPJ1

Made an accidental purchase and requested a refund from (Apple) and the next day it WAS REFUNDED BTW. But the coins and etc. are still on my account. What if I spend the coins. Will I be recharged¿ (NOW ITS CURRENTLY THE DAY AFTER I WAS REFUNDED AND THE MONEY HASENT BEEN PUT BACK INTO MY ACCOUNT OFFICIALY¡¿)

Answers

Answer:

You will not be charged again. The refund will be processed in 3-5 business days. and the coins will be removed from your account.

The following do-while loop is suppose to ask for the price for a gallon of gas. The price must a positive number. The price can be an integer value or a double value. for example the price can be 3 or 3.0 or 3.5.

To create a robust program, we must do the data validation and as long as the user is entering a negative value or a String, the program must keep asking the user to enter a valid input.

in this program you need to use some of the scanner methods listed here, make sure to use the proper ones: hasNextInt(), hasNextDouble(), hasNextLine(), hasNext(), nextInt(), nextDouble(), nextLine()

Must flush the buffer at the proper locations in the code

Answers

Answer:

import java.util.Scanner;

public class qs {

   public static void main(String[] args) {

       Scanner input = new Scanner(System.in);

       double price;

       do {

           System.out.print("Enter the price for a gallon of gas: ");

           while (!input.hasNextDouble()) {

               System.out.println("That's not a number!");

               input.next(); // this is important!

           }

           price = input.nextDouble();

       } while (price < 0);

       System.out.println("The price is " + price);

   }

}

Put the steps in order to produce the output shown below. Assume the indenting will be correct in the program.

2 1
6 1
3 1
2 5
6 5
3 5

Answers

Answer:

for numD in [1, 5]:

   for numC in [2, 6, 3]:

       print(numC, numD)

Create a Python program that asks the user to enter 3 positive numbers. The program should validate that the characters that the user entered formulate a valid positive integer and display an appropriate error message if they do not. The program should use a sequence of conditional (if) statements to display the 3 positive numbers in ascending order.

Answers

Answer:

num1 = input("Enter the first number: ")

num2 = input("Enter the second number: ")

num3 = input("Enter the third number: ")

if num1.isdigit() and num2.isdigit() and num3.isdigit():

   num1 = int(num1)

   num2 = int(num2)

   num3 = int(num3)

   if num1 > 0 and num2 > 0 and num3 > 0:

       if num1 < num2 and num1 < num3:

           if num2 < num3:

               print(num1,num2,num3)

           else:

               print(num1,num3,num2)

       elif num2 < num1 and num2 < num3:

           if num1 < num3:

               print(num2,num1,num3)

           else:

               print(num2,num3,num1)

       else:

           if num1 < num2:

               print(num3,num1,num2)

           else:

               print(num3,num2,num1)

   else:

       print("Please enter positive numbers only.")

else:

   print("Please enter positive numbers only.")

The assignment asks you to analyse the determinants of average school test scores using a dataset with
information on 500 schools in California, USA.
There are 4 different tasks you should perform:
1. Import the data into Stata and inspect it
2. Estimate a simple model of the determinants of test scores
3. Run additional specifications
4. Interpret the results
The data is provided in the "CAschools.xls" Excel file, where the first row consists of variable names.
You should write a short report as described below (no more than 2,000 words) and submit this with your dofile included as an appendix via TurnItIn to Blackboard, by 23.59 Friday 2nd December.
Part 1: Import the data into Stata and inspect it
1. At the beginning of the do-file, clearly note your name and student number.
2. Import the data from the Excel file.
3. Label the variables according to the accompanying 'CAschools Description' document.
4. Produce a table of summary statistics for the variables in the dataset.
5. Generate and export some scatter plots that will help you decide what independent variables to include
in the models you use in Part 3 below.
Part 2: Estimate a simple model of the determinants of test scores
1. Run a regression of the student teacher ratio, the share of students receiving free or reduced-price
school meals, the share of English language learners, and zip code median income on test scores.
2. Interpret the economic and statistical significance of your estimates.
3. Is the model successful in explaining the variation in test scores? Do you have reason to believe
omitted variable bias may be affecting any of your estimates?
Part 3: Run additional specifications
1. Extend the model from part 2 to include additional explanatory variables (note: run at least 4 additional
specifications).
2. Perform appropriate tests to investigate whether these new variables add explanatory power to the
model.
3. Does zip code median income have non-linear relationship with test scores?
4. Investigate whether the relationship between average teacher experience and test scores differs between
schools with above and below median shares of English language learners.
5. Save the data set, under the name 'Assignment'. Save the do-file and close the log file.
Part 4: Interpret the results
Write a report on your analysis, including your tables, graphs and interpretations from parts 1-3. Divide the
report into 3 sections corresponding to these Parts. The report should be up to 2000 words, without the
appendix. Copy your clearly commented dofile into an appendix.

Answers

There are 6 steps you need to follow.

How to analyze determinants of average school test score?

To analyze the determinants of average school test scores using a dataset with information on 500 schools in California, the following steps should be taken:

What are the steps to analyze?Import the data from the Excel file "CAschools.xls" into Stata, and label the variables according to the accompanying "CAschools Description" document.Produce a table of summary statistics for the variables in the dataset, and generate scatter plots to help decide which independent variables to include in the model.Estimate a simple linear regression model of the determinants of test scores, including student teacher ratio, the share of students receiving free or reduced-price school meals, the share of English language learners, and zip code median income as explanatory variables.Interpret the economic and statistical significance of the estimates, and assess whether the model is successful in explaining the variation in test scores.Extend the model to include additional explanatory variables, and perform appropriate tests to investigate whether these new variables add explanatory power to the model.Investigate whether zip code median income has a non-linear relationship with test scores, and whether the relationship between average teacher experience and test scores differs between schools with above and below median shares of English language learners.Write a report on the analysis, including tables, graphs, and interpretations from all four parts.

The do-file used to carry out this analysis should be included as an appendix to the report.

To Know More About analyze determinants, Check Out

https://brainly.com/question/20395091

#SPJ1

7.2.5 Height in Meters codehs

Answers

Answer:

INCHES_TO_CM = 2.54

CM_TO_METERS = 0.01

FEET_TO_INCHES = 12

def convert_height_to_meter(feet, inches):

   inches_total = (feet * FEET_TO_INCHES) + inches

   cm_total = inches_total * INCHES_TO_CM

   meters = cm_total * CM_TO_METERS

   print(str(feet)+" feet, "+str(inches)+" inches is "+str(meters)+" meters")

   

convert_height_to_meter(6, 4)

convert_height_to_meter(5, 8)

convert_height_to_meter(5, 2)

Q: On the Loan worksheet in cell C9 enter PMT function to calculate the monthly payment for the Altamonte springs 2022 facilities loan. Ensure that the function returns a positive value and set the reference to cells B5 and B6 as absolute references.

ANSWER!! Click cell C9. On the Formulas tab, in the Function Library group, click Financial, scroll down, and then click PMT. In the Function Arguments dialog box, with the insertion point in the Rate box, type $B$5/12. Press TAB to select the Nper box. Type $B$6. Press TAB to select the Pv box. Type -B9. Click OK

*I saw many struggling like I was and couldn't add an answer myself sooo

Answers

We have to use Microsoft Excel as well as pmt function to solve this Loan worksheet.

Step-by-step Explanation:

Click cell C9. Click on the Formulae tab, which is in the Function Library group, Now click on Financial tab, then scroll down, and then you have to click PMT. Now in the Function Arguments dialog box, with the help of insertion point in the Rate box, type $B$5/12. Then Press TAB to select a Nper box. Type $B$6. Press TAB to select the Pv box. Type -B9. Click OK

What is Microsoft Excel?

Microsoft Excel is a spreadsheet program that allows you to manipulate and analyze data. It has a variety of tools and functions to work with. A workbook in Excel can have multiple worksheets. It has alphabetically labeled columns (or fields) as well as numbered rows ( or record).

To know more about Microsoft Excel, visit: https://brainly.com/question/27133177

#SPJ1

Write a pseudocode to calculate the maximum and minimum marks out of 100 from the
array studentMarks[] of a class-size of n students.

Answers

Using the knowledge in computational language in pseudocode it is possible to write a code that calculate the maximum and minimum marks out of 100 from the array studentMarks.

Writting the code:

#include <array>

#include <numeric>

// Write your Student class here

class Student {

public:

   Student() = default;

   

   void input() {

       for (int i = 0; i < 5; ++i) {

           std::cin >> m_scores[i];

       }

   }

   

   int calculateTotalScore() const {

       return std::accumulate(m_scores.begin(), m_scores.end(), 0);

   }

   

private:

   std::array<int, 5> m_scores{0};

};

See more about pseudocde at brainly.com/question/13208346

#SPJ1

Hi whats the name of this game because i forgot we have to make a project on IT lesson about puzzle games and i forgot the name of this one please

Answers

The name of the Puzzle Game Requested is called "Monument Valley".

What is Monument Valley?

Ustwo Games created and distributed Monument Valley, an independent puzzle game. The player guides Princess Ida through mazes of optical illusions and impossible items, altering the environment around her to reach different platforms.

Monument Valley is a fanciful journey through impossible mathematics and amazing buildings. The player leads the mute princess Ida through intriguing monuments, unraveling optical illusions and outwitting the enigmatic Crow People.

Monument Valley is around 112 hours long while focused on the primary objectives. If you are a gamer who wants to see every facet of the game, you will most certainly spend roughly 212 hours completing it completely.

Learn more about Puzzle Games:
https://brainly.com/question/13546872
#SPJ1

Write a program that determines if the user rolled doubles in dive. Read in two integers from the user which represent dice rolls. Create a variable called rolledDoubles which has the value of whether or not the two values are equal. Print that out. Please do this in JAVASCRIPT NOTTT phyton. The picture is what I have so far

Answers

Answer:

is it like this?

function start(){

   var rolledDice = readInt ("Did you roll double?");

   var rolledDoubles = rolledDice <= 6:

   println("Dice rolled double:" && rolledDoubles);

   if (rolledDoubles){

       println("You rolled doubles!");

   } else {

       println("You did not roll doubles");

   }

}

Purpose:
Solidify and demonstrate your understanding and application of the conditional and looping programming constructs in Python by creating a number guessing game. Your program will use a random number generator to choose a mystery number between 1 and 10 and give the user 3 attempts to guess the mystery number.

Skills
The purpose of this assignment is to demonstrate use of multiple and nested loops and if statements. These are basic foundational coding skills that are widely used all programs regardless of the language or the problem the code is solving. In addition you will need to bring in a library to generate random numbers. Familiarity with using additional libraries also is needed skill for most python programs.

Knowledge
This assignment will help you become familiar with:

Using the random number library
Using Boolean variables to control looping
Using integer variables to repeat an action a fixed amount of times (e.g. only allowing user to have 3 guesses)
Using relatively complex conditional statements embedded inside while loops

Answers

Answer:

import random

mysteryNumber = random.randint(1,10)

print("I am thinking of a number between 1 and 10.")

guess = int(input("What's the number? "))

if guess == mysteryNumber:

   print("Yes! You win!")

else:

   print("Nope, try again.")

   guess = int(input("What's the number? "))

   if guess == mysteryNumber:

       print("Yes! You win!")

   else:

       print("Nope, try again.")

       guess = int(input("What's the number? "))

       if guess == mysteryNumber:

           print("Yes! You win!")

       else:

           print("Nope, you lose. The number was",mysteryNumber)

Describe the web and application policies you would put in place to support the
following teams/departments:
a. Recruitment Team
b. Data Science Team
c. Executive Team
d. General Employees
e. Guests

Answers

Identification, attraction, interviewing, selection, hiring, and onboarding of personnel are all included in the recruitment process.

Describe recruitment ?Various employees are in charge of recruiting, depending on the size of the company.While some smaller organizations only have one recruiter, larger organizations may have entire teams of recruiters.The task of managing people inside a business is known as human resource management, or HR for short.Internal Recruiting: Internal recruiting refers to the process of filling open positions within an organization with current employees.Retained Recruiting: Employing a recruiting firm can be done in a number of ways, with retained recruiting being one of the more popular ones.

To learn more about recruitment refer to:

https://brainly.com/question/3700565

#SPJ1

What is the difference between biometrics devices and biometrics input devices

Answers

Answer: A biometric input device measures a unique physical chracteristic of a person.

Explanation: The most common biometric devices are used to input a person's fingerprint into a computer. More sophisticated devices use a camera to input a description of a person's iris (the coloured part of the eye).

I want to merge rows by matching multiple ids. But in id terms, it can be substring. For example, "art" is a substring of "Earth" so, we will consider that's the same thing

Below example, I used Name and lname, phone, pin, as a ID.
Name and lname need to complete match and phone, pin can be partial match.

for example row number 0, 3 and 6 name and lname is complete match but phone and pin is partical match like "456b" and "789c" available in row number 0 same "eee" and "qqq" is available in row number 3. So, that's a partial match.

and in row number 4 name and lname is matched but there is no any match in phone and pin in row number 0, 3, or 6. So, we'll not merge row number 4

And we merge all other data like subjects

df = pd.DataFrame({'name': ['Raj', 'Hardik', 'Parth', 'Raj', 'Raj','parth', 'Raj'],
'lname': ['abc', 'Hardik', 'aaa', 'abc', 'abc','aaa', "abc"],
'phone': ['123a, 456b, 789c', '-', '777', '456b', '0000', '777', '789c'],
'pin': ['eee', '741', '852', 'qqq, www, eee', '789', '852', 'qqq'],
'Subjects': ['Maths', 'Science', 'English', 'Biology', 'Physics', 'Psychology', 'Hindi']})

df=
name lname phone pin Subjects
0 Raj abc 123a, 456b, 789c eee Maths
1 Hardik Hardik - 741 Science
2 Parth aaa 777 852 English
3 Raj abc 456b qqq, www, eee Biology
4 Raj abc 0000 789 Physics
5 parth aaa 777 852 Psychology
6 Raj abc 789c qqq Hindi

ans = pd.DataFrame({'name': ['Raj', 'Hardik', 'Parth', 'Raj'],
'lname': ['abc', 'Hardik', 'aaa', 'abc'],
'phone': ['123a, 456b, 789c', '-', '777', '0000' ],
'pin': ['qqq, www, eee', '741', '852', '789' ],
'Subjects': ['Maths, Biology, Hindi', 'Science', 'English, Psychology', 'Physics' ]})

name lname phone pin Subjects
0 Raj abc 123a, 456b, 789c qqq, www, eee Maths, Biology, Hindi
1 Hardik Hardik - 741 Science
2 Parth aaa 777 852 English, Psychology
3 Raj abc 0000 789 Physics

Answers

Data inside two rows of data are compared and combined in the Merge rows (diff) stage. For comparing data gathered at two distinct times, utilize this step.

How do I combine multiple rows into one row by the same value?What you must do in order to combine two or more rows into one is as follows: Choose the cell range where you want to combine rows. Go to the Ablebits Data tab > Merge group, select Merge Rows into One from the drop-down menu, and then click the Merge Cells arrow.By doing so, the Merge Cells dialog box will open with the default settings, which are suitable for most situations. Only the separator is changed in this example from the standard space to a line break.To see the perfectly merged rows of data with line breaks, click the Merge button.Data inside two rows of data are compared and combined in the Merge rows (diff) stage. For comparing data gathered at two different times, use this step. Your data warehouse's source system, for instance, might not have a timestamp for the most recent data update.

Learn more about merging rows refer to :

https://brainly.com/question/28714804

#SPJ1

Write a pseudocode to calculate the maximum and minimum marks out of 100 from the
array studentMarks[] of a class-size of n students.

Answers

Using the knowledge in computational language in pseudocode it is possible to write a code that calculate the maximum and minimum marks out of 100 from the array studentMarks.

Writting the code:

#include <array>

#include <numeric>

// Write your Student class here

class Student {

public:

   Student() = default;

   

   void input() {

       for (int i = 0; i < 5; ++i) {

           std::cin >> m_scores[i];

       }

   }

   

   int calculateTotalScore() const {

       return std::accumulate(m_scores.begin(), m_scores.end(), 0);

   }

   

private:

   std::array<int, 5> m_scores{0};

};

See more about pseudocde at brainly.com/question/13208346

#SPJ1

Type the correct answer in the box Spell all words correctly.
Jenny has entered data about models of laptops from company A and company B in a worksheet. She enters model numbers of laptops from company
A along with their details in different columns of the worksheet. Similarly, she enters details of all the laptop models from company B, Which option will
help Jenny view the data for company A and company B in two separate sections after printing?
The BLANK option will help her view the data for company A and company B in two separate sections after printing.

Answers

The option that will help Jenny view the data for company A and company B in two separate sections after printing is option A: Page Break View

The Split option will help her view the data for company A and company B in two separate sections after printing.

What does "page break" mean?

To conclude a page without adding more text, use page breaks. Put a page break after the graduation date on the title page, for instance, to ensure that the title page of your thesis or dissertation is distinct from the signature page.

Therefore, in the context of the above, Jenny can find the split option under the tab and the way to go about it is by: Select the Split command by clicking the View tab on the Ribbon. There will be several panes in the workbook. Using the scroll bars, you can navigate across each pane separately and compare various workbook portions.

Learn more about Page Break View from

https://brainly.com/question/6886781
#SPJ1

See full question below

Jenny has entered data about models of laptops from company A and company B in a worksheet. She enters model numbers of laptops from company A along with their details in different columns of the worksheet. Similarly, she enters details of all the laptop models from company B, Which option will help Jenny view the data for company A and company B in two separate sections after printing?

answer choices

Page Break View

Normal View

Margins View

Page Layout View

What is the best GPU for the computer I am building.

Answers

Answer:

If it is a gaming pc, you should use a high end gpu such as Nvidia Gtx 1650+ or if u want rtx, you should also go and buy a very high 350v power.

Explanation:

If it is general, you should use something in Intel Hd Graphics series but not more than 3000 below.

If it is for both, best I can recommend is Gtx 1650

If it is mining BTC, ETC etc. you should get BEST graphics card there is out there for gaming.

Why were dramas on radio called soap operas?

Answers

Answer:

Most of its major sponsors for many years were manufacturers of soap and detergents.

Explanation:

soap opera, broadcast dramatic serial program, so called in the United States because most of its major sponsors for many years were manufacturers of soap and detergents.

Answer:

because they were sponsored by soap companies

Choose the best collection for each situation.

You have a set of data that will not be changed and you will not need to add new items.


You wrote a loop to ask the user for a set of 100 numbers. You will add a number to the collection on each pass through the loop, then pass the collection to a function for processing.


You have the unique inventory number and description of every item in a store. You will need to add items when they come in and delete items when they are sold.

Answers

Answer:

first: tuple

second: list

third: dictionary

Explanation:

first: tuple

tuples are immutable, so you can't add or remove items from a tuple

second: list

lists are mutable, so you can add and remove items from a list

third: dictionary

dictionaries are mutable, so you can add and remove items from a dictionary

what is the fnajofnjanfaofoafnka

Answers

Answer: that is the letter f,n,a,j,o,f,n,j,an,f,a,o,f,n,k,a

Which are ether random letters or….. it’s a word scramble.

I well now organize the letters.

1F 2F 3F 4F                                                

1N 2N 3N 4N

1A 2A 3A 4A

1J 2J

1O 2O

1K

Words that can be written are

Fan four times there are other things such as names it can write such as Joan Jon or it could be abbreviations but I believe It’s just random letters you wrote to confuse the brainly community trust me you confused me lol.

Explanation:

How do computer programs ask us for information?

Answers

Answer:

Computer Programs

Explanation:

Computer Programs , in some program language Actualy best program languages is javascript(using in big firms) , C# C Sharp , Python , C++ C Plus Plus in some provincions and technology , program you can doo in best Compilator is Visual Studio "Community"  for free 2015 , 2019 , 2022 like I Remember this versions  in this Compiler you can doo programs in C# , F# , C++ , class/es , biblioteks and plicks dll. , Console Aplications , Graphic Aplications  all i Plicks .exe  or other biblioteks , class or types but you mast doo Decision for programing language and start learning for many time for many years... too BIG SPECIALISATIONS

What is the missing line?

>>> myDeque = deque('dog')
_____
>>> myDeque
deque(['d', 'o', 'g', 'cat'])

>>> myDeque.insert('cat')
>>> myDeque.insert('cat')

>>> myDeque.appendleft('cat')
>>> myDeque.appendleft('cat')

>>> myDeque.append('cat')
>>> myDeque.append('cat')

>>> myDeque.appendright('cat')
>>> myDeque.appendright('cat')

Answers

Answer:

i think myDeque.append('cat')

In terms of processor performance explain an effective measure that you would put in place to ensure that Moore’s law stays in effect

Answers

Every few years, the number of computers produced doubles, is one of the effective measure that a person would put in place to ensure that Moore’s law stays in effect.

What is the significance of Moore's law?

Moore's Law has primarily been used to emphasize the rapid evolution of information processing technologies.

Moore's law refers to Gordon Moore's 1965 observation that the number of transistors in a dense integrated circuit (IC) doubles about every two years. Most forecasters, including Gordon Moore, believe Moore's law will be terminated by 2025.

Learn more about the Moore's law, refer to:

https://brainly.com/question/17600211

#SPJ1


Identify current and emergent telecommunications systems

Answers

The current and emergent telecommunications systems are:

Telephone networkThe radio broadcasting systemComputer networksARPANETEthernetInternetSocial MediaWireless networks

Which emergency communication method is best?

Talking devices Information can be sent as well as received using two-way radios. They are incredibly useful for both short-distance communication and long-distance information transmission, even across the globe with the right tools.

Therefore, Wired and wireless local and wide area networks, as well as hardware and software, are all components of telecommunications systems, which enable systems to communicate with one another and with users.

Learn more about telecommunications systems from

https://brainly.com/question/28551792
#SPJ1

A client uses UDP to send data to a server. The data length is 16 bytes. Calculate the efficiency of this transmission at the UDP level (ratio of useful bytes to total bytes).

Answers

Answer:

The efficiency of this transmission at the UDP level is 1.0, since all 16 bytes of data are useful bytes.

The efficiency of the transmission at the UDP level (ratio of useful bytes to total bytes) is 44.44%.

What is the efficiency of the transmission?

Due to losses in the line resistance, the power obtained at the receiving end of a transmission line is often lower than the power obtained at the sending end.

The transmission efficiency of a transmission line is defined as the ratio of the sending end power to the receiving end power.

The entire number of information bits (i.e., bits in the user's message) divided by the total number of bits in transmission is how transmission efficiency is calculated (i.e., information bits plus overhead bits).

Total = 16 data bytes + 20 byte header = 36 bytes

Efficiency = 16 / 36 = 44.44%

Therefore, the UDP level's transmission efficiency (measured as the proportion of usable bytes to total bytes) is 44.44%.

To learn more about efficiency, refer to the link:

https://brainly.com/question/27911712

#SPJ2

can you submit MySql queries to brainly in order to get table answers?

Answers

?? Explain Please.

What advantages would there be to using both subsystems and logical partitions on the
same machine?

Answers

Answer:

Explanation:

Advantages of using subsystem and logical partitions on same machine

Subsystems and logical partitions on the same machine reduces the data backup function.Hence there is no need to take the backup regularly.It increases the hardware utilization.Resource availability is high and it provides security to the resources.

The main part of your program has the following line of code.

answer = difference(30,5)
Which function finds the difference of 30 and 5 to return 25.


def Subtract(numA, numB):
return numB - numA
def Subtract(numA, numB): return numB - numA

def subtract(numA, numB):
return numA - numB
def subtract(numA, numB): return numA - numB

def subtract(numA, numB):
return numB - numA
def subtract(numA, numB): return numB - numA

def Subtract(numA, numB):
return numA - numB

Answers

Answer:

def subtract(numA, numB):

  return numA - numB

On page 104, of Think Like a Computer Scientist, you learned about paired data. With paired data, you can use a for loop with two index variables to iterative through the data. In this exercise you will create a turtle drawing using pairs of data, where the first item of the pair is the distance to move forward , and the second item is the angle to turn.. Set up a list of pairs so that the turtle draws a house with a cross through the center, as show here. This should be done without going over any of the lines / edges more than once, and without lifting your pen.

Your first pair of data will be (100,135). In a list this will look like ls = [ (100, 135) ] Then you need to add the other pairs for the remaining lines and angles. The 100 represents the distance forward the turtle will travel. The 135 represents the angle the turtle will turn left.

Screen capture of run of program showing house figure

Hint: Your first line should be the bottom line. Then turn left 135 degrees and go forward. You may wish to create the drawing without the list first, then substitute a list and a for loop for the distances and angles.



Use two functions: a main() function that sets up screen and turtle objects, and a drawhouse() function that takes a turtle object as an argument.



Includes comments at the top to identify file name, project and a brief description.

For further documentation, include comment for each section of code. Write in Python asap

Answers

Answer:

import turtle

def drawhouse(t):

   # find the length of diagonal of a square with side = 100

   # formula: diagonal = sqrt(2) * side

   diagonal = 100 * (2 ** 0.5)

   data = [(100, 135), (diagonal, -135), (100, -135), (diagonal, -135), (100, -45), (diagonal / 2, -90),

           (diagonal / 2, -45), (100, 0)]

   for dist, angle in data:

       t.forward(dist)

       t.left(angle)

def main():

   t = turtle.Turtle()

   drawhouse(t)

   turtle.done()

main()

Other Questions
does a reaction occur when aqueous solutions of potassium chloride and silver(i) acetate are combined? the interest rate in the economy is 4 percent. what should the fed do to achieve a noninflationary, full-employment level of real gdp? this type of comedy is similar to a drama of the same name. it usually revolves around a family or neighborhood caught up in complicated and amusing situations. what observational evidence supports the galactic fountain model, which describes how gas cycles between the disk of the galaxy and regions high above the disk? an older adult client with a recent diagnosis of diabetes states feeling exasperated and overwhelmed by the regimen of glucose testing, dietary modifications and medications. the nurse will assess for further signs of what concern? chegg suppose 60% of all college professors like tennis, 65% like bridge, and 50% like chess; 45% like any given pair of recreations. (a) should you be suspicious if told 20% like all three recreations? I dont know but hey A pterodactyl could fly 75 miles in 3 hours. At this rate, how far could a pterodactyl travel in 5 hours?A pterodactyl could fly 75 miles in 3 hours. At this rate, how far could a pterodactyl travel in 5 hours? Click and drag each answer choice to its correct place in the passage.The Election of 1932 was held at the country's lowest economic pointThe Republican Party nominated incumbentThe effect was catastrophic, plunging the country into what became known as theunsuccessful, meaning the Republican President took most of the blame, despite the fact that it was an international situation.The Democratic Party nominated New York Governorfor the American people. His plan would include the creation of manyreforms to prevent another economic collapseThe election was a landslide victory for Democrats. In his:: World War IHerbert HooverHe had been President for less than one year when, in October of 1929, the famous;Any attempts to correct the situation such as theFirst Inaugural AddressHe blamed the Republicans for failing to adequately deal with the dire economic conditions, and promised a:: "Stock Market Crash" "Great Depression":: Reconstruction Finance Corporationthe new President calmed the nerves of weary Americans, telling them that "the only thing we have to fear is fear itself."took placeand programs to help people recover, provide relief, and initiategovernment agencies :: Franklin D. Rooseveltwere"New Dear Olivia is the only girl in her grade who plays football with boys. She is likely to be called abnormal because her behaviourA) is a deviation from the averageB) is a deviation from the ideaC) indicates a sense of personal discomfortD) okay it's an inability to function effectively which property in math is (n+2.9)+0.3=n+(2.9+0.3) at a 3 percent rate of inflation, approximately how many years will it take for prices to double? multiple choice 21 years 30 years 24 years 15 years 9 years The rate constant for the first order transformation of cyclopropane to propene is 5.40 x 10-2/hr. What is the half-life of this reaction? What fraction of the cyclopropane remains after 51.2 hours? What fraction remains after 18.0 hours? Question: The rate constant for the first order transformation of cyclopropane to propene is 5.40 x 10-2/hr. What is the half-life of this reaction? What fraction of the cyclopropane remains after 51.2 hours? a 56-year-old woman with severe varicose veins has opted for venous ablation, and the nurse is providing patient education before the scheduled procedure. what instructions should the nurse provide to this patient? baruch which theory about the nature of well-being holds that the best life is the one that includes as much pleasure as possible and as little pain as possible? 5/8 = 8/x A.5B.64C.0.2D.12.8 which of the following words has the same meaning as apprehension? a. anxiety b. anger c. hope d. loss Complete the sentences to review the process of T-cell activation. Then move the sentences into the correct order. T-cell activation begins when an ____________ delivers antigen to a CD4 or CD8 T cell. In contrast, ____________ T-cell activation requires the action of ____________ cells in order to differentiate into memory CD8 cells and activated CD8 cells. In the case of a ____________ cell, it can differentiate into T helper ____________ cells which will activate ____________ cells. Activated CD8 cells will mount a direct attack on target cells through the action of ____________ , which punch holes in membranes, and ____________ , which then enter through these passageways. It may also differentiate into a T helper ____________ cell for B-cell activation, or T helper ____________ or T regulatory cells for modulation of the ____________ response. Priya and Han each wrote an equation of a line with slope 1/2 that passes through the point (1,2) Priya's equation is y-2=1/3(x-1) and Han's equation is 3y - x = 5. Do you agree with either of them?Explain or show your reasoning A piece of gold, previously at room temperature, is placed in a water bath with a temperature of 100C. If we consider the gold to be the system and assume w constant, what is the outcome of this action?a. heat flows out of the system and its internal energy decreasesb. heat flows out of the system and its internal energy increasesc. heat flows into the system and its internal energy decreasesd. heat flows into the system and its internal energy increases