Answer:
The function in Python is as follows:
def greetings(details):
details = details.split(' ')
print('Hello, '+details[0]+'!, I also enjoy '+details[2])
Explanation:
This defines the function
def greetings(details):
This splits the input string by space
details = details.split(' ')
This prints the required output
print('Hello, '+details[0]+'!, I also enjoy '+details[2])
After splitting, the string at index 0 represents the name while the string at index 2 represents the hobby
Answer:
Moore’s law states that processor speeds, or overall processing power for computers will double every two years.
Explanation:
- Moore’s law is more than an observation than a law which was originated in 1970. The observation is about the number of transistors that is present in any system or an integrated system that will be doubled every couple of years.
- The real-world application of Moore's law can be seen during computing your business taxes, piloting a spaceship, or changing the television station, etc.
Force is a push or pull which is exerted on an objects. Types of Force are
Contact forces
Non contact forces or At a distance forces
Examples of Contact forces are:
Stretching of the spring of a balance
pushing of a pram
kicking of a football
Pushing the door
Hitting the ball etc are some examples of contact forces.
some types of contact forces are given in the list below:
Applied force
Normal force
Frictional force
Tension force
Air resistance force
Spring force
This is to much work for 5 points cmon