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
Brrunno [24]
2 years ago
9

If a= ‘ Stay home, Stay safe’ , print its value

Computers and Technology
1 answer:
Damm [24]2 years ago
7 0

Answer:

Since the language isn’t stated, I’ll give answers in the two most-used (?) languages: Java and Python.

a) To print a’s value 3 times in the same line, in Java we would do:

System.out.print(a+a+a);

In Python, we would write:

print(a*3)

b) 2 times in different lines using one print statement

In Java, we would write

System.out.println(a+”\n”+a+”\n”+a);

In Python we would write:

print(a,a,a,sep=’/n’)

Hope this helps!

You might be interested in
Into which of these files would you paste copied information to create an integrated document? A. Mailing list B. Source C. Data
viva [34]

it would be b.mailing list


5 0
3 years ago
Read 2 more answers
What are scientists going to explore next on Kepler-186f? A) evidence of the existence of life B) types of plant life that exist
Volgvan

Answer:

the answer is  a)

Explanation:

4 0
3 years ago
Read 2 more answers
Can file extension txt be used in other os
rodikova [14]
Yes, a text file with a .txt extension can be read by Linux/Unix/Mac as they are ASCII unformatted.
6 0
3 years ago
What naming scheme identifies the rows in a worksheet?
masha68 [24]
The naming scheme that identifies the rows in a worksheet is B. 1, 2, 3.
Rows are horizontal, and they are identified by numbers in an Excel worksheet. On the other hand, columns are vertical, and they are identified by letters in the same Excel worksheet. 
7 0
3 years ago
Read 2 more answers
Conditional formatting allows spreadsheet users to
jeyben [28]

Answer:

<h2>C</h2>

Explanation:

highlight test scores of below 90% in a grade book.

8 0
3 years ago
Read 2 more answers
Other questions:
  • Pollution or waste that is generated from a business is called a
    6·2 answers
  • What happens when your computer is in Hibernate mode?
    12·1 answer
  • 2. Now write a program named filereader.py that reads and displays the data in friends.txt. This program should also determine a
    5·1 answer
  • When would a one way flag variable be used
    10·1 answer
  • What happens when variables in programming are not properly initialized? answers?
    13·1 answer
  • Do you believe that oop should be phased out and we should start working on some alternative?
    13·1 answer
  • Meaning of 'WSAD" iiiiii
    10·2 answers
  • A user contacted the help desk to report that the laser printer in his department is wrinkling the paper when printed. The user
    5·1 answer
  • How do I keep my computer and data safe and secure while using the Internet?
    14·2 answers
  • Please help! I tried this by myself. But I am not sure if this is right.
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!