Answer:
hours = 50
full_days = int(hours / 24)
print("The number of full days in " + str(hours) + " hours is " + str(full_days))
Explanation:
Initialize the hours
Since there are 24 hours in a full day, divide the hours by 24. Note that you need to typecast it to the int, because the result is a decimal value by default
Print the values as requested
Answer:
INSERT INTO Movie(Title,Rating,ReleaseDate)
VALUES("Raiders of the Lost ArkPG",'PG',DATE '1981-06-15'),
("The Godfaher",'R',DATE '1972-03-24'),
("The Pursuit of Happyness",'PG-13',DATE '2006-12-15');
Explanation:
The SQL statement uses the "INSERT" clause to added data to the movie table. It uses the single insert statement to add multiple movies by separating the movies in a comma and their details in parenthesis.
Answer:
#include <stdio.h>
#Include<iostream>
using namespace std;
//Define required function
PersonalInfo( )
{
printf("Name : Robert Josh\n");
printf("DOB : July 14, 1975\n");
printf("Work Phone : 00-00000000\n");
printf("Cell Phone : 11-777777777\n");
return(0);
}
int main()
{
//Call function
PersonalInfo( );
return 0;
}
Explanation:
Its just a simple code to print required details when the function PersonalInfo is called.
Answer:
b
Explanation:
First, we need to initialize the classifier.
Then, we are required to train the classifier.
The next step is to predict the target.
And finally, we need to evaluate the classifier model.
You will find different algorithms for solving the classification problem. Some of them are like decision tree classification etc.
However, you need to know how these classifier works. And its explained before:
You need to initialize the classifier at first.
All kinds of classifiers in the scikit-learn make use of the method fit(x,y) for fitting the model or the training for the given training set in level y.
The predict(x) returns the y which is the predicted label.And this is prediction.
For evaluating the classifier model- the score(x,y) gives back the certain score for a mentioned test data x as well as the test label y.
<span>I think that she would be well suited in going into law enforcement or fire fighting. Since she loves to stay active and is cool under pressure, both of those jobs would be very well suited for her personality. Those 2 jobs demand to stay cool into delicate situations. Also, she would be able to come in to help people in need.</span>