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
Aleksandr-060686 [28]
3 years ago
15

python3 Write a program with a function that accepts a string as an argument and returns a copy of the string with the first cha

racter of each sentence capitalized. For instance, if the argument is "hello. my name is Joe. what is your name?" the function should return the string "Hello. My name is Joe. What is your name?". The program should let the user enter a string and then pass it to the function. The modified string should be displayed.
Computers and Technology
1 answer:
Ksivusya [100]3 years ago
4 0

Answer:

MyString= input('Enter string: ')

string_capitalize(MyString)

print(MyString)

def string_capitalize(str):

        str= str.capitalize()

        return str

Explanation:

This python code is learnt to access string value from users and capitalize all characters in the beginning of each sentence.

You might be interested in
Since all Java data types (numbers, strings, etc) can be represented as strings, the _______ format specifier can receive any ty
astra-53 [7]

In Java programming, the <u>%s</u> format specifier can receive any type of Java data.

<h3>The kinds of data type.</h3>

In Computer programming, there are five recognized data types and these include:

  • Integer type (int).
  • Character type (char).
  • Floating point type (float).
  • Boolean (bool)
  • String (str)

<h3>What is a string?</h3>

A string is a data type which is typically used for data values that comprises ordered sequences of characters.

In Java programming, strings can be used to represent all Java data types such as numbers, Boolean, strings, etc. Also, the <u>%s</u> format specifier can be used by a programmer or software developer to receive any type of Java data.

Read more on a string here: brainly.com/question/25619349

5 0
2 years ago
Um its a weird question, but i want to ask anyways. Please dont report! I really need an answer!
den301095 [7]

okay here is what i got.

try restarting your wifi router and if that doesn't work then restart the console.

other than that i got nothing

hope this helps.

7 0
3 years ago
Read 2 more answers
What are authorization rules?
nasty-shy [4]
An authorization rule specifies the policy that applies to an object and that is based on various conditions, such as context and environment. Each authorization rule has a unique name and can be applied to multiple objects in a domain.
8 0
2 years ago
7) The small slots on the front, back, or side of your computer that allow you to connect devices (such as a keyboard, mouse, or
wolverine [178]

Answer:

Ports

Explanation:

ports are interface or connection point between a computer and external devices. There are slots in all the sides of a computer such as Ian, usb, HDMI, etc. These ports are connection point of mouse, keyboard , external hdd to the computer.

8 0
3 years ago
Which of the following file names follows basic naming convention rules
WARRIOR [948]
Option 3:

lesson1/computer history
5 0
3 years ago
Read 2 more answers
Other questions:
  • Endnotes into a document are automatically positioned at the bottom of the page where the endnote reference is inserted.
    5·1 answer
  • What can a parent do to help a child adjust to a new culture or area
    7·2 answers
  • What makes for a good algorithm compatibility complexity humor correctness efficiency?
    11·1 answer
  • To drive defensively means taking proactive measures to avoid accident situations regardless of their potential causes.
    6·2 answers
  • How does light move? Shift? Bounce between different objects?
    9·1 answer
  • A pedometer treats walking 2,000 steps as walking 1 mile. Write a program whose input is the number of steps, and whose output i
    14·1 answer
  • Which amendment applies to the following scenario? “Brian attended church with his two daughters and wife on Sunday." A First B
    15·1 answer
  • Que ventajas podria traer el internet a la educacion artistica? Ayuda porfa telo pido porfavor
    13·1 answer
  • What would a system unit that is integrated with the display and keyboard would be considered?
    6·1 answer
  • Can someone please help me! It’s due Thursday!
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!