D. staying connected with an old friend.
Answer:
Below are the function for the above question in java Language---
void show_info(String name,String home,String state)
{
System.out.println("Your name is "+name+" and you live in "+ home+" ,"+state +".");
}
Output:
- If the user inputs name="Gaus",city="LosAngeles" and state="California" then the output will be "Your name is Gaus and you live in LosAngeless, California."
Explanation:
- The above function is in java language which takes three argument names, state, and the city.
- The name will be stored on the name variable of the string type.
- The state will be stored on the state variable of string type.
- The city will be stored on the city variable of the string type.
- Then the Output will be displayed with the help of the print function.
- '+' is used to merge the string.
Answer:
game architecture, game framework or gameframe
Version history feature
OneDrive's Version history feature allows you to view older versions of an Office Online document. If you find a version you want, you can then restore it, moving it to the top of the list as the latest version of the file.
Answer:
def filter_strings(data_list):
string_list = []
for s in data_list:
if type(s) == str and len(s) > 5:
string_list.append(s)
return string_list
Explanation:
Create a function called filter_strings that takes data_list as a parameter
Initialize a new list to hold the strings that are longer than 5 characters
Initialize a for loop that iterates through the data_list
Check the elements if they are string - use type function, and if their length is greater than 5 - use len function. If an element satisfies the both conditions, put it to the string_list
When the loop is done, return the string_list