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
harkovskaia [24]
3 years ago
13

Using a script (code) file, write the following functions:

Computers and Technology
1 answer:
vagabundo [1.1K]3 years ago
5 0

Answer:

def func1(x):

   return (x-32)*(5/9)

def func2(x):

   return (x/2.237)

def main():

   x = ""

   while x != "x":

       choice = input("Enter 1 to convert Fahrenheit temperature to Celsius\n"

                      "Enter 2 to convert speed from miles per hour to meters per second: ")

       if choice == "1":

           temp = input("please enter temperature in farenheit: ")

           print(func1(float(temp))," degrees celcius.")

       elif choice == "2":

           speed = input("please enter speed in miles per hour: ")

           print(func2(float(speed))," meters per second")

       else:

           print("error... enter value again...")

       x = input("enter x to exit, y to continue")

if __name__ == "__main__":

    main()

Explanation:

two function are defines func1 for converting temperature from ferenheit to celcius and func2 to convert speed from miles per hour to meters per second.

You might be interested in
Earthquakes happen when _____.
skad [1K]
The answer is C. The third choice.
4 0
3 years ago
____ is a very fast network media. It contains multiple (sometimes several hundred) clear glass or plastic fibers, each about th
nikitadnepr [17]

<u>Fiber optic cable (FOC</u>) is a very fast network media and it comprises multiple clear glass or plastic fibers.

<h3>What is a fiber optic cable?</h3>

A fiber optic cable can be defined as a type of wired connector which are either made of glass or plastic and they are typically used for connecting one network device to another, so as to form a computer network and enable the continuous transmission of data between them.

In Computer technology, fiber optic cables (FOCs) are commonly produced through the use of several concentric layers of transparent material such as glass or plastic, with each having a slightly different index of refraction for light waves and about the thickness of a human hair.

Read more on fiberoptic cables here: brainly.com/question/116766

8 0
2 years ago
A. Requiring computer users to log off before leaving for lunch
GuDViN [60]

Answer:

Option A, B, and D.

Explanation:

In the above question, the some details of the question are missing that is the part of the question.

Information Security applies to the mechanisms and techniques built and maintained to secure print, computerized, or any other type of personal, secret and confidential information or records from unauthorized access, usage, exploitation, release, damage, manipulation, or disturbance.

So, the following are the option that is true about the scenario.

Other option is not true about the scenario because Option C the click fraud are not the part or protect from the information security and Option F is not considered to the following scenario.

7 0
4 years ago
How do you make a ringtone on earsketch
RoseWind [281]

Haven't used earsketch, but here we go.

Answer:

1). Make a track in earsketch, make it like 6/7 seconds

2.) export your track as an .mp3, .wav, or  .ogg (your choice!)

3.) (If on android) Navigate to settings, now search for an entry for ringtone.

4.) If you have no luck, look up how to set ringtone on your desired phone brand (iOS, Android, etc.)

5.) Test out your new ringtone

6.)Profit

4 0
3 years ago
What is the most popular social networking service to date?
Fofino [41]
I think Face book hope that helped XD
6 0
3 years ago
Read 2 more answers
Other questions:
  • In a set associative cache memory, if the number of ways (lines) in a set is doubled while keeping the cache size and line size
    13·1 answer
  • Elisa and Josh need to access General Help. Elisa will press the F1 key. Josh will click on ? in the upper-right corner of the W
    14·2 answers
  • The ____ of a variable is the location in memory where it’s value is stored. A. Value B. Address C. Data type D. Number
    8·1 answer
  • Academic databases are the best place to look for
    12·1 answer
  • WILL GIVE BRAILIST IF ANSWER RIGHT
    11·1 answer
  • Why is it important to install updates? Why should you use the Power button on the Start menu instead of the Power button on you
    7·1 answer
  • 3. Create mode was one of the most innovative and influential features of which of the following games?
    7·1 answer
  • Answer this crossword for brainliest and 15 points
    9·1 answer
  • List and explain three computing devices from the 20th century​
    13·2 answers
  • Select the correct answer.
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!