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).
Answer and Explanation:
Some of the negative aspects of robots at work place:
- Lesser flexibility
- Higher maintenance and installation cost
- Future insecurity and risk if the system malfunctions
- A decline in the opportunities for humans
- Unemployment as a result of automation and robot regulated work place.
Some of the positive aspects of robots at work place:
- Higher accuracy
- Higher speeds
- More work in less time
- Productivity and hence efficiency will increase
- Cost of some operations is reduced.
- Ease of employing in dangerous and hazardous fields by using specific robots for each task
The two devices in a computer that should be considered "black boxes," and should never be opened due to risks involving charged capacitors are MONITOR and POWER SUPPLY.
Explanation:
- Physical contact or close proximity to the open power supply caused a discharge from the capacitor that resulted in an electric shock. Capacitors can discharge current even when not energized because they hold a charge for some time after the power is turned off.
- To do harm to your body, the voltage across the capacitor's terminals must be high enough to cause a harmful effect on you. There are no hard rules for at what voltage things become harmful, but a common 'rule of thumb' is that DC up to 48 Volt is considered low voltage. So a capacitor charged to a voltage below 48 V is fairly safe.
- A charged capacitor can be very dangerous, so it's important that you avoid coming into contact with the terminals at all times.
Answer:
Social media.
Explanation:
The social media is an online platform that provides its users with the web application interface for easy communication. Since it is online, the user must subscribe to a ISP service, create an account on the social media website, and optionally download it's application on the device for easy access.
User accounts are secured with a username and password. The user on the site can share graphic, video, audio and text content, interact with friends etc.