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.
Answer:
can be used to make word docments look the same
Explanation:
Answer:
#include <iostream>
using namespace std;
int main()
{
int cookies;
cin >> cookies;
cout << "The calorie consumption is: " << cookies * 142 << endl;
return 0;
}
Explanation:
First line: include basic library of C++(input and output).
using namespace std;
Says to compiler we are using std.
int main() Main function
int cookies, cookies variable, of int type
cin >> cookies
get the number of the cookies from user
cout Print the text and calories(one cookie have 142 calories)
Have a nice day ;)
Answer:
Cell.
Explanation:
Electromagnetic waves is a propagating medium used in all communications device to transmit data (messages) from the device of the sender to the device of the receiver.
Generally, the most commonly used electromagnetic wave technology in telecommunications is radio waves.
Radio waves can be defined as an electromagnetic wave that has its frequency ranging from 30 GHz to 300 GHz and its wavelength between 1mm and 3000m. Therefore, radio waves are a series of repetitive valleys and peaks that are typically characterized of having the longest wavelength in the electromagnetic spectrum.
Basically, as a result of radio waves having long wavelengths, they are mainly used in long-distance communications such as the carriage and transmission of data.
In the field of telecommunication, all telecommunication setup are designed and developed to make use of two network devices: one device is typically used for the transmission of data while the other device is used to receive data that are sent on the network.
Generally, cell towers are tall poles that are used to transmit frequencies to mobile phones.