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:
Explanation:
The programming language in terms of their performance reliability and robustness can be grouped into five different generations, First generation languages (1GL) Second generation languages (2GL) Third generation languages (3GL)
Answer:
there are no mutiple choices
Answer:
Explanation:
n = eval(input('Enter # of number you want to enter: '))
list_=[]
for i in range(n):
number = eval(input("enter number: "))
list_.append(number)
if i == n-1:
maximum = max(list_)
minimum = min(list_)
print("maximum : "+str(maximum))
print("minimum : "+str(minimum))