Answer:
SELECT country.Name, city.Name
FROM country
JOIN countrylanguage ON country.Code = countrylanguage.CountryCode
JOIN city ON country.Capital = city.ID
WHERE countrylanguage.Language = 'English'
AND countrylanguage.Percentage < 30;
Explanation:
SELECT is used to query the database and get back the specified fields.
City.Name is an attribute of city table.
country.Name is an attribute of country table.
FROM is used to query the database and get back the preferred information by specifying the table name.
country , countrylanguage and city are the table names.
country and countrylanguage are joined based ON country.Code = countrylanguage.CountryCode
countrylanguage and city are joined based ON country.Capital = city.ID
WHERE is used to specify a condition based on which the data is to be retrieved. The conditions are as follows:
countrylanguage.Language = 'English'
countrylanguage.Percentage < 30;
Answer:
Check the explanation
Explanation:
Here in this game of Tic-Tac-Toe, it is using the TPGE engine which is a Tiny Python Game Engine. Let's talk about its functions like:-
def image_type(img): In this function, it is simply taking image as a parameter and returning its object type like DISC if the image is in graphical form, TEXT if it is a string, and LINE if it is other than the mentioned object.
def convert_image(img): In this function, it is simply taking image as a parameter and returning an equivalent graphical object as understood by John Zelle's. Mainly comparing for three things in this function and those are: if image equals to DISC then it is calling convert_circle(function), if image equals to LINE then it is calling convert_line(function), and if image equals to TEXT then it is calling convert_text(function),
def convert_circle(x): This function takes a list( a group of values) and makes a circle at the center of the window and the circle's radius is coming from the list.
convert_text, convert_line, convert_circle are only creating text, line, and circle and then returning it.
def graphical_elements(images): This function is taking image as a parameter and then extracting shape and color from the image and then calling convert_image(shape) and convert_type(shape) and it gives us graphic and kind respectively. Now it is checking whether kind equals to DISC If yes then filling color on the window else, setting the outline of the window
def run(): Here it is finally running the game with required parameters, the whole game is continously running under the while loop.
That's all
Silcates are minerals with silicon bonded with oxygen.
Answer and Explanation:
In order to use the justified text
The name of the tab is the Home tab
The command is
First select the data in which you want to justify
Than go to the home tab after that go to the paragraph tab and then click on the dialog box launcher after that choose the drop-down menu of alignment and set justified text
The shortcut key is to use it is Ctrl + J