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
fenix001 [56]
3 years ago
15

1. Create a function called count_to_three() , remember the colon.

Computers and Technology
1 answer:
Len [333]3 years ago
4 0

Answer:

This program is written using Python programming language

The program doesn't make use of comments

See attachment for proper format of the program

def count_to_three():

print("One")

print("Two")

print("Three")

count_to_three()

Explanation:

The first line of the program defines the function count_to_three() with no parameters, passed to it

Line 2 to 4 of the program is indent and each line make use of print() function

Line 2 prints "One", Line 3 prints "Two" and Line 4 prints "Three" without quotes

The last line of the program calls the defined function

You might be interested in
how would you determine if your employer or school has Network monitoring software? would you change your computer activities in
Maslowich

Answer:

It would be hard to tell if you were being monitored by a network monitoring software, however, you could use a VPN to avoid it. Whenever on a public network you should never use passwords and sign in to things like your online banking.

7 0
2 years ago
You are making a game! The player tries to shoot an object and can hit or miss it. The player starts with 100 points, with a hit
Anni [7]

The program illustrates the use of loops and conditions.

Loops are used for repetitions, while conditions are used to make decisions

The game program in Python, where comments are used to explain each line is as follows:

#This initializes the point to 100

point = 100

#The following loop is repeated 4 times

for i in range(4):

   #This gets the current action

   action = input("Hit or Miss: ")

   #This following if statement calculates the point

   if action.lower() == "hit":

       point+=10

   else:

       point-=20

#This prints the calculated point

print(point)

Read more about loops and conditions at:

brainly.com/question/14284157

3 0
3 years ago
1. Which tool is used for hardware to stand on to prevent static
GalinKa [24]

Answer:

An anti-static mat tool.

Explanation:

To prevent, static electricity from building up an anti-static mat tool is used. This is the tool that is used to prevent static electricity from building up. However, if you don't have the anti-static mat, an antistatic wrist strap can be used.

5 0
2 years ago
7.3 Code Practice edhesive
ASHA 777 [7]

def print_sum(a,b,c):

   print(a+b+c)

one = int(input("Enter the 1st number: "))

two = int(input("Enter the 2nd number: "))

three = int(input("Enter the 3rd number: "))

print_sum(one,two,three)

I wrote my code in python 3.8. I hope this helps.

8 0
3 years ago
Can someone help please?
aivan3 [116]
If it’s an iPhone, You’ll need a computer and iTunes installed in order to take off the disabled lock. Once it’s in recover you mode, you should get a prompt on screen to “restore” the device. However, most androids have hard resetting built into the firmware, just look up the button inputs to activate the mode for your specific model of device . hope this helped thanks
3 0
2 years ago
Read 2 more answers
Other questions:
  • How do you train a computer to recognize your voice?
    14·2 answers
  • What acts as a platform on which application software runs?
    8·1 answer
  • Which of the following is not a popular bitmap editing application?
    15·2 answers
  • The term that describes the connection of all kinds of devices; computers, phones, laptops, appliances, cars, etc. to the intern
    7·1 answer
  • . Convert BAC4 from hexadecimal to decimal. Show your work.
    9·1 answer
  • ________ did you sell your computer to?​
    9·1 answer
  • A. Skype offers a service that allows you to make a phone call from a PC to an ordinary phone. This means that the voice call mu
    7·1 answer
  • Your program is going to compare the scores of two volleyball teams that play each other. To win a match in volleyball, a team m
    14·1 answer
  • Why does the randomNumber function only use whole numbers between 0 and 1 (basically, 0 and 1)?
    13·1 answer
  • Which structural semantic will this HTML code snippet form?
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!