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
Lostsunrise [7]
2 years ago
8

How do you initiate a sprite’s actions in a scene?

Computers and Technology
1 answer:
irinina [24]2 years ago
3 0
ummm I think sorry I don’t know I just want points lol
You might be interested in
Write a loop that prints each country's population in country_pop. Sample output with input:
Nostrana [21]

Answer:

  1. country_pop = {
  2.    'China': 1365830000,
  3.    'India': 1247220000,
  4.    'United States': 318463000,  
  5.    'Indonesia': 252164800
  6. }  
  7. for key in country_pop:
  8.    print(key + " has " + str(country_pop[key]) + " people")

Explanation:

The solution code is written in Python 3.

Given a dictionary, country_pop with data that includes four country along with their respective population (Line 1-6). We can use for in loop structure to traverse through each of the key (country) in the dictionary and print their respective population value (Line 7-8). The general loop structure through is as follow:

                    for key in dict:

                         do something

One key will be addressed for each round of loop and we can use that key to extract the corresponding value of the key (e.g. country_pop[key]) and print it out.

4 0
3 years ago
What is bubblesort and how do u do it
zloy xaker [14]
Bubble sort, sometimes referred to as sinking sort, is a simple sorting algorithm

3 0
3 years ago
Write a c program that asks the user
faltersainse [42]

Answer:

#include <stdio.h>

int main()  

{

int x;

float y;

printf("Input total distance in km: ");

scanf("%d",&x);

printf("Input total fuel spent in liters: ");

scanf("%f", &y);

printf("Average consumption (km/lt) %.3f ",x/y);

printf("\n");

return 0;

}

7 0
2 years ago
A file named numbers.txt contains an unknown number of lines, each consisting of a single positive integer. Write some code that
prisoha [69]

In Python, assume that a file containing a series of integers is named numbers.txt and exist on the computer's disk. Write a program that reads the entire numbers store in the file and calculates their total.

Here is what I have written but it does not run:  

def. main():

   out file=open('numbers.txt','r')

   temp=outfile.readline()

   total=0

   while temp!='':

       t=int(temp)

       total=total+i

       temp=outfile.readline()

       outfile.close()

       print('Total sum is:',total)

main()

Text file is a file named numbers.txt with the numbers 1-50 in it

Learn more:

  • The sum of three consecutive integers is 186. what are the integers

        brainly.com/question/1768254

Keywords: python, integers, computer, numbers, program

6 0
3 years ago
Read 2 more answers
What do you think is the most fascinating aspect of the internet
kari74 [83]
The 20th century seemed to be the year of a complete freedom once the Internet has been spread worldwidely. Unfortunately, it only seemed to be a trial to see various reactions. The 21st century will change this gradually.
6 0
3 years ago
Other questions:
  • The __________ endian storage format places the __________ byte of a word in the lowest memory address. The __________ endian st
    15·1 answer
  • An extrant is designed for the exclusive use within an organization true or false
    9·1 answer
  • When an architect designs a building, what visual design elements could be used to help capture a viewer’s attention? A) The use
    5·2 answers
  • Troubleshooting a printer that does not work includes a. connecting the printer to your computer b. checking to see if there is
    13·1 answer
  • Anyone free to inbox me plz....​
    6·2 answers
  • One reason to buy a home instead of rent a home is:
    5·1 answer
  • A(n) __________ is a server with the original copy of the data that others need.
    12·1 answer
  • How old was the mummy where they found a wooden prosthetic toe on him?
    6·1 answer
  • Which view is most often used to reorder slides in a presentation that has already been created?
    15·2 answers
  • MyProgramming Lab
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!