Answer:
The answer to this question is given below in the explanation section.
Explanation:
This is a Python function that generates random number between the given range. However, it includes the numbers that are given in the range.
So this function can generate a random number and return a number between 1 and 9 (inclusive 1 and 9).
The function is written below
...........................................................................................................
import random
print(random.randint(1, 9))
<em>#returns a number between 1 and 9 (both included)</em>
.....................................................................................................................
Answer:
Explanation:
i think it is easy:
1- you declare 2d array
2- fill it with *
3- declare player1Turn =true
4- declare player2Turn =false
5- make while loop where not finished
BS:not Finished would be function return bool that checks the condtions
6-if player1Turn
6.1- player1Turn =false
6.2- player2Turn =true
6.3- call function called play with "player1","X" as args
6-else if player2Turn
6.1- player2Turn =false
6.2- player1Turn =true
6.3- call function called play with "player2","O" as args
5- end while loop
Answer:
An integer data type is a location where text cannot be stored
Explanation:
In computer science and computer programming, a data type or simply type is an attribute of data which tells the compiler or interpreter how the programmer intends to use the data.
A data type constrains the values that an expression, such as a variable or a function, might take. This data type defines the operations that can be done on the data, the meaning of the data, and the way values of that type can be stored.
Common examples of data types are
1.Integer: accepts integer numbers
2.Floating-point number: accept decimal numbers
3.Character: accepts character values
4.String. Accepts multiple characters
4.Boolean. Returns true or false logical expression
<span>The schema will have to accommodate to make the person more easily able to perform the new task. Accommodation allows the new information to be made a part of a schema without changing the overall concepts in the schema. The schema itself stays unchanged for the most part, but the new information is more of a "tweak" to the schema than a full-on update.</span>
Answer:
it is an electronic device that manipulates raw facts into a meaning and organized information