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
tiny-mole [99]
3 years ago
10

Write a program that reads a string from the user containing a date in the form mm/dd/ yyyy. It should print the date in the for

m April 12, 2017. Hint: Get the "mm" from the user entered date "mm/dd/yyyy", then convert the "mm" into a month number. You may use an list month_list
Computers and Technology
1 answer:
Oxana [17]3 years ago
3 0

Answer:

months_info = ['January', 'February','March','April', 'May','June', 'July','August', 'September', 'October', 'November', 'December']

date = input('Enter a date using the mm/dd/yyyy format ')

m, d, y = date.split('/')

m = int(m) - 1

name_of_month = months_info[m]

print('{} {}, {}'.format(name_of_month, d, y))

Explanation:

  • Create a list of all months and store them in the months_info variable.
  • Get the date as an input from user and then split the date.
  • Finally display the date by following the specific layout using the built-in format method.
You might be interested in
If you're looking to install Gigabit Ethernet, what cabling system would you use?
Vitek1552 [10]

Answer:

The correct answer to the following question will be option c. Cat-6.

Explanation:

Cat-6: A standard version of twisted pair cable for physical layer of networking and for Ethernet is, Cat-6 (Category 6) cable.

  • Cat-6 will be adaptable with the Category 5/5e and 3 standard of cables, and the standard specifies the performance of cable compared to 100 MHz up-to 250MHz for Cat 5/5e.
  • So, if you are looking for the best cabling system to use while installing the Gigabit Ethernet, Category 6 will be the suitable one.
6 0
3 years ago
Devices inserted into a computer that give it added capabilities
mestny [16]
Your answer should be expansion boards
5 0
3 years ago
What font takes up the most space and still looks professional?
DanielleElmas [232]
Calligraphy font would probably be the best
3 0
3 years ago
What command will allow you to find and display objects in Active Directory that meet specified criteria?
Ivenika [448]

Answer:

DSQUERY

Explanation:

DSQUERY is known to be a command that allows you to query (meaning to find and display objects) in Active Directory meeting some specified criteria within a domain. This type of command is mostly installed on Windows Server versions alone. However, they can also be installed on some other non-server variants using the Remote Server Administration Tools bundle provided by Microsoft.

6 0
3 years ago
Please convert 5AE into decimal​ fast
MaRussiya [10]

Answer:

it could be decimal or hexadecimal

7 0
3 years ago
Other questions:
  • In pre-shared key mode, a passphrase should be at least ________ characters long.
    15·1 answer
  • How do you adjust the shear of a shape?
    10·2 answers
  • An automated search feature used by search engines to find results that match your search terms is called a spider or ?
    5·1 answer
  • In your own words, describe what Internet Protocols are. Why is it important to have agreed upon protocols?
    6·1 answer
  • Can anyone find any words in here?
    14·2 answers
  • Casey, a woodworker, is developing his own website. He plans to use the site as a means of selling his handmade furniture. While
    10·1 answer
  • Implement RandMultipByVal function, which gets one integervariable as its argument
    12·1 answer
  • is there anybody out there who is a social butterfly like me? If so then you can tlk to me on this. and to anybody out there tha
    12·1 answer
  • Represent the measuring unit ofcomputer un terms of fration of second​
    13·1 answer
  • The while loop and the do loop are equivalent in their expressive power; in other words, you can rewrite a while loop using a do
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!