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
polet [3.4K]
3 years ago
11

what would be the result of running these two lines of code

Computers and Technology
1 answer:
MatroZZZ [7]3 years ago
8 0

Answer:

Jog

Explanation:

The variable options is a list containing 5 string values

options = ["ski", "surf", "jog", "bike", "hike"]

Indexing in python starts from 0 ; hence the index values of the list values are :

0 - ski

1 - surf

2 - jog

3 - bike

4 - hike

The statement ;

print(options[2]) means print the string at index 2 in the list named options

The string at index 2 is jog ;

Hence, the string jog is printed.

You might be interested in
DEBUG
notka56 [123]
Comon surely give us more points to answer these questions not just 5 lol I’ll answer it tho
8 0
2 years ago
Purpose of this program:
WARRIOR [948]

Answer:

Solved. Please download the attached zipped file. You can download the answers from the given link in explanation section

Explanation:

Download the attached file and unzipped/extract it to the root folder of your server.

This package contains all the files and folders as asked in the project.

In this package you can find the 5 pages in the includes folder and at the root you can find the index file. Click on the index file to open it.

Each page is stylized and have uniqueness than other pages. Please also note that, each page contains first, last and initial name in the title section of each page and in body section of each page. You can modify these names parameter according to your name/requirement

https://drive.google.com/file/d/1OBdjUI6JOnUuji-iYPmPWnJBk4gcMd6X/view?usp=sharing

6 0
3 years ago
a cisc-style instruction set has a large number of high-level instructions that perform highly complex operations in a single st
NikAS [45]

Both desktop and laptop computers employ CISC (complex instruction set computer) CPUs. Small programs are on CISC machines. It requires a lot of time to execute because it contains a great deal of compound instructions.

<h3>What do you mean by CISC?</h3>

Both desktop and laptop computers employ CISC (complex instruction set computer) CPUs. More complex instructions can be processed by this kind of CPU. For instance, a single instruction might load two values, add them, and then store the outcome back in memory.

A computer that, in contrast to a computer with a limited instruction set, allows individual instructions to perform numerous processes and need a large number of cycles to complete (RISC).

Small programs are on CISC machines. It requires a lot of time to execute because it contains a great deal of compound instructions. In this case, a single set of instructions is safeguarded in stages; each instruction set contains more than 300 distinct instructions. On average, instructions take two to ten machine cycles to complete.

To learn more about CISC refer to:

brainly.com/question/13266932

#SPJ4

8 0
1 year ago
Which of the following is not a search engine
Irina18 [472]
It's Gopher and others areare search engines.
7 0
2 years ago
How would want to be my friend on here if you are we can talk back and foruth
Bezzdna [24]
Hi i need some points to finish searching answers for my test but I hope you find a friend
3 0
2 years ago
Other questions:
  • Which of the following sentences is written in the active voice
    12·2 answers
  • Create a server program and a client program. The client program reads a line from a text file, converts everything to upper cas
    15·1 answer
  • A ____ is harmful computer code that spreads without your interaction, slipping from one network to another and replicating itse
    15·1 answer
  • Write a Temperature class that will hold a temperature in Fahrenheit, and will provide methods to get and display the temperatur
    5·1 answer
  • When solving for K, when cell potential is known, what is one of the first steps to follow?
    8·1 answer
  • Given the code that reads a list of integers, complete the number_guess() function, which should choose a random number between
    6·1 answer
  • How can a signature be added to an email message? Check all that apply.
    10·2 answers
  • What are the OSHA construction standards also called ?
    10·1 answer
  • If a touch screen chrome is not charging what is wrong with it
    13·2 answers
  • Is Brainly cheating??
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!