Answer:
import datetime
user = input("Enter date in yyyy,m,d: ").split(",")
int_date = tuple([int(x) for x in user])
year, month, day =int_date
mydate = datetime.datetime(year, month, day)
print(mydate)
x = mydate.strftime("%B %d, %Y was a %A")
print(x)
Explanation:
The datetime python module is used to create date and time objects which makes it easy working with date-time values. The user input is converted to a tuple of integer items, then they are converted to date time objects and parsed to string with the strftime method.
You would need to show a pic
A <u>Virtual hard disk</u> is a specially formatted file that, once mounted, or connected to a virtual machine appear and operate pretty much identically to a physical hard drive.
<h3>What is a virtual hard disk?</h3>
A virtual hard disk (VHD) is a disk picture file format for storing the entire ranges of a computer's hard drive.
The disk image, sometimes called a virtual machine (VM), duplicates an existing hard drive, including all data and structural elements.
<h3>Why would you count a virtual hard disk?</h3>
Typically, a VHD comes in handy to add additional storage to a Hyper-V virtual machine, and thanks to its capacity to support other OS installations, you can even use this storage virtualization technology to make a dual-boot system without modifying an existing partition.
To learn more about virtual hard disk , refer
brainly.com/question/4733444
#SPJ4
<span>Ansel Adams & Fred Archer</span>
Answer:
The C++ statement for the given algebraic expression 5x^2 + 15k + y^-2 is ( ( 5 * ( x * x ) ) + ( 15 * k ) + ( 1 / ( y * y ) ).
Explanation:
To convert the given algebraic expression 5x^2 + 15k + y^-2 into the C++ statement without using the pow function is:
In the given algebraic expression, there are three expressions combined using the + operator.
The first algebraic expression is 5x^2.
Here, x has a power of 2, and 5 is multiplied by the result of x^2. x having the power of 2 means x is multiplied itself twice. The C++ statement for this algebraic expression is (5 * ( x * x)).
The second algebraic expression is 15k.
Here, 15 is multiplied by k. The C++ statement for this algebraic expression is (15 * k).
The third algebraic expression is y^-2.
Here, x has a power of -2. it means
. The C++ statement for this algebraic expression is (1/ (y * y).
The combination of all the three C++ statement is (5 * ( x * x)) + (15 * k) + (1/ (y * y).