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
meriva
4 years ago
5

Write a sequence of statements that finds the first comma in the string associated with the variable line, and associates the va

riable clause the portion of line up to, but not including the comma. You may assume that an int variable pos, as well as the variables line and clause, have already been declared.
Computers and Technology
1 answer:
NeX [460]4 years ago
7 0

<u>Answer:</u>

<em>As given in the question assuming that the necessary variable are declared, the below line would satisfy the expectation of the question. </em>

<em>      clause = line.split(',')[0] </em>

<u>Explanation:</u>

Split is <em>string function</em> which enable us split the text based on the <em>character that is given as a parameter</em>. Split() accepts a single parameter which <em>accepts the splitter character. </em>

According to the question the given string should be separated by comma and the first sentence before comma should be assigned to the clause variable. <em>So line.split(‘,’)[0] will do that.</em>

<em>The number ‘0’ inside the square bracket represent the first sentence after splitting with comma.  </em>

You might be interested in
Susan is creating a spreadsheet, and she needs to enter the months of the year in column A. Susan should _____.
AysviL [449]
Enter January in A1 hold mouse in bottom right hand corner of cell. Hold mouse button down and drag the mouse. Excel will populate the months of the year
3 0
3 years ago
Read 2 more answers
Sharon has multiple tables in her database. she wants to view related records in those tables. what should sharon do to view the
den301095 [7]

according to plato she should create relationships between the tables

3 0
3 years ago
What is an example of a reference marker that a source might use? quotation print Web page numbering
olya-2409 [2.1K]

Answer

page numbering

Explanation

Page numbering is where the writer employs a process of applying sequence of numbers to pages of a certain document may it be a book, a magazine, a news paper or any other document having pages.The reference marker that a source might use a page numbering  to be able to reference details that are referenced in other details. By this it reduces complication

3 0
3 years ago
Read 2 more answers
Question #4
Yuliya22 [10]

Answer:

tuple

Explanation:

the inner machinations of my mind ar- hey wait i´m not Patrick

8 0
3 years ago
30 POINTS FOR THE CORRECT ANSWER
Blizzard [7]

Answer:

Whether it’s on our phones, in books or on websites, we’re constantly digesting written words. From instruction booklets to shop fronts, type is all around us. We often reflect on the power of the written word, but rarely do we consider the designer’s role in emulating the tone of the word or sentence.

Behind the scenes, a designer has taken the time to consider the relationship between the look of the text and what the text says. In reality, different moods, atmospheres and emotions can be expressed simply through the type choice. But what actually is typography—and why is it so vital?

In this article, we’ll lift the lid on everything you need to know about typography. We’ll start with the definition of typography, including a brief history of its origins. We’ll then address the benefits of good typography and the impact it can have on your users. Finally, we’ll look into the different elements that comprise typography, and what they all mean.

Here’s what we’ll cover:

What is typography?

Why is typography important?

The different elements of typography

How to choose the correct typeface for your website

Conclusion

3 0
2 years ago
Other questions:
  • Title text boxes on every slide must be the same format.<br><br> A) True<br> B) False
    8·2 answers
  • Brooke is trying to save enough money in the next fifteen months to purchase a plane ticket to Australia. Every month Brooke sav
    9·1 answer
  • Advantages of purchasing a software package over developing software in-house include all of the following except ____. Group of
    13·1 answer
  • Which categories format cells
    14·2 answers
  • Create a Python program that:
    11·1 answer
  • What the heck is a motherboard and why is my computer not working when i take it out
    14·1 answer
  • Are scripted languages easier or more difficult to port than programming languages? Why?
    6·1 answer
  • What are types of computer viruses
    11·2 answers
  • HELP!!!!!!!!!! I'M SOO STUCK ON EXCEL OFFICE FUNDAMENTALS!!!!!! I'LL GIVE BRAINLIEST TO THE FIRST RIGHT ANSWER!!!! PLEASE, I'M B
    12·1 answer
  • A(n) ________ is the portion of virus code that is unique to a particular computer virus. A) virus signature B) encryptio
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!