As you have included a syntax error inside your question, I will make assumptions on the code. I will assume your code is {
answer = “Hi mom”
print(answer.lower())
}
In this case the output would be “hi mom”. Please make sure to double check your questions before posting.
Answer:
Explanation:
class TimeToSleep() {
main bunch of stuff (string argos) {
int age;
string comedy;
bool guess;
public bool imTheMasterMethod() {
guess = true;
while (guess) {
comedy = "You forgot to put the flowchart, you meathead!";
println(comedy);
scan("%d", &age);
if (age < 18) {
println("Go to sleep kiddo!");
}
}
}
}
}
Answer:
a
Explanation:
hackers access your system unauthorized
Answer:
The ignition delay in a diesel engine is defined as the time interval between the start of injection and the start of combustion. This delay period consists of (a) physical delay, wherein atomisation, vaporization and mixing of air fuel occur and (b) of chemical delay attributed to pre-combustion reactions. Physical and chemical delays occur simultaneously.
Hope This Helps! Have A Nice Day!!
Answer:
program :
def separate_int_and_str(list_1):# function to seprate the list.
str_list=[] #list to hold the
int_list=[]#list which holds the integer value.
for x in list_1: #for loop to extract the list.
if(type(x)==str): #if condition to check the type of the element.
str_list.append(x)#create a list for the string value.
elif(type(x)==int): #check condition for th einteger value.
int_list.append(x)#create a list for the integer value.
Explanation:
- The above-defined function is written in the python language, which used the code to separate the list for integer and the string value.
- There are two lists define in the function which holds the integer and the string value separately.
- There is a 'for' loop which scans the element of the list and checks the list by the help of type function which tells the class of the element.
- Then if the type function states that the element is from the strong class, it will assign the element on the string list otherwise it assigns the element in the integer list.