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
Anna35 [415]
3 years ago
10

#Write a function called random_marks. random_marks should #take three parameters, all integers. It should return a #string. # #

The first parameter represents how many apostrophes should #be in the string. The second parameter represents how many #quotation marks should be in the string. The third #parameter represents how many apostrophe-quotation mark #pairs should be in the string. # #For example, random_marks(3, 2, 3) would return this #string: #'''""'"'"'" # #Note that there are three apostrophes, then two quotation #marks, then three '" pairs. #Add your function here!
Computers and Technology
1 answer:
Bezzdna [24]3 years ago
4 0

Answer:

def random_marks(apostrophe, quotation, apostrophe_quotation):

   return "'"*apostrophe + "\""*quotation + "'\""*apostrophe_quotation

   

print(random_marks(3, 2, 3))

Explanation:

Create a function called random_marks that takes apostrophe, quotation, and apostrophe_quotation as parameters. Inside the function, return apostrophe sign times apostrophe plus quotation mark times quotation plus apostrophe sign quotation mark times apostrophe_quotation.

Note that plus sign (+) is used to concatenate strings. Also, if you multiply a string with a number, you get that number of strings ("#"*3 gives ###).

Then, call the function with given parameters and print

You might be interested in
A user notices that a mobile device is draining power faster than is normal. What are three causes of quick battery drain? (Choo
Svet_ta [14]

Answer:

Option (a), (d) and (e) is the correct option to the following question.

Explanation:

Because most of the application is that type which consuming a lot of power because of their features and the functionality and also these applications have large in size. The mobile phones also consume power when the brightness of the mobile is set at a high level and also when its VPN is connected or connected through the WIFI.

3 0
3 years ago
Works in the public domain have copyright that are expired or abandoned true or false
amid [387]

Answer:

False

Explanation:

Only one of the two are true. Works in the public domain have a copyright that has expired only. E.g. Works of classical music artist, are almost always expired, in accorance with American Copyright law. Abandoning a copyright doesn't do anything because so long the copyright has remained unexpired, the copyright remains. Thats why it can take decades for a new movie in a series to release, like "IT" by Stephen King. The copyright hasn't expired but rather was 'abandoned'. Before "IT" 2017 was relasesed, the copyright was abandoned.

4 0
2 years ago
What is the use of "Computer" Icon ?
snow_lady [41]




Hi pupil Here's your answer :::




➡➡➡➡➡➡➡➡➡➡➡➡➡



The Computer Icons can provide access to the resources on your computer. You can access your storage drives and by double clicking on the Computer icon.

It usually used in a Graphical User Interface systems.



⬅⬅⬅⬅⬅⬅⬅⬅⬅⬅⬅⬅⬅




Hope this helps
7 0
2 years ago
Read 2 more answers
A company currently uses Microsoft Active Directory as its identity provider. The company recently purchased Oracle Cloud Infras
I am Lyosha [343]

A company currently uses Microsoft Active Directory as its identity provider. The company recently purchased Oracle Cloud Infrastructure (OCI) to leverage the cloud platform for its test and development operations. As the administrator, you are now tasked with giving access only to developers so that they can start creating resources in their OCI accounts. The step to achieve this is :

<u>B. Federate all Microsoft Active Directory groups with OCI to allow users to use their existing credentials.</u>

<u />

Explanation:

  • Go to the AD FS Management Console and sign in to the account you want to federate.
  • Add Oracle Cloud Infrastructure as a trusted relying party: From the AD FS Management Console, right-click AD FS and select Add Relying Party Trust.
  • Oracle Cloud provides Infrastructure as a Service (IaaS), Platform as a Service (PaaS), Software as a Service (SaaS), and Data as a Service (DaaS). These services are used to build, deploy, integrate, and extend applications in the cloud.
  • You can federate multiple Active Directory accounts with Oracle Cloud Infrastructure, but each federation trust that you set up must be for a single Active Directory account.

4 0
2 years ago
1) Put the following in order from smallest to largest A) 1,500,000 bytes B) 2,000 kilobytes C) 0.01 petabytes D) 1 Terabyte E)
Lyrx [107]

Answer:

A, B, E, D, F, C

3 0
2 years ago
Other questions:
  • What is the definition of a WAP?
    6·2 answers
  • You have a hard disk that is formatted with the fat32 file system. you would like to implement file and folder permissions on th
    10·1 answer
  • Which of the following definitions describes a chemical hazard?
    8·2 answers
  • In cell R9, enter a formula using the AVERAGEIF function to determine the average number of years of experience for lifeguards.
    12·1 answer
  • (a) Convert to hexadecimal: 1457.1110. Round to two digits past the hexadecimal point.
    8·1 answer
  • To generate a report with exact results based on specific criteria it is best to base the report on a(n) ____________________ cr
    6·1 answer
  • Can an iphone user see when an android user is typing
    10·2 answers
  • Aspiring graphic designers can earn a(n) certification for graphic design software, such as Photoshop and Acrobat.
    9·2 answers
  • Project manager George is defining project management to his team. How should he define project management in one sentence?
    7·1 answer
  • In one to two sentences, describe how you would add a new slide to your presentation.
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!