Answer:
- import datetime
-
- def get_year_of_birth():
- age = int(input("Enter your age: "))
- current_year = datetime.datetime.now().year
- year_of_birth = current_year - age
- return year_of_birth
-
- print(get_year_of_birth())
Explanation:
Firstly, we import datetime module as we need it to get the current year (Line 1).
Next, create a function named it as get_year_of_birth (Line 3). Prompt user to input age and assign it to a variable (Line 4). Next, we use now() method from datetime module to get the current date and time and extract the year component (Line 5). At last, calculate the year of birth by subtracting the current_year with age and return it as output (Line 6-7).
-3–2 I think orange brown green green orange green brown orange brown
Answer:
The answer to the given question is "communication".
Explanation:
In the given question the answer is communication because An intranet is a private network within a company that is used to securely exchange confidential information and resources among employees. and all option are not correct that can be described as:
- In the intranet, we use the web browser to open web application.
- The print server is a software program that is used to manages print requests.
- The web server is used to provide the communication.
That's why the answer to this question is "communication".
Answer:
You get to learn about the world and you get catch up on daily news
Explanation: