The exercise contains 15 questions. The solution is provided for each question.
Each question contains the necessary skills you need to learn.
I have added tips and required learning resources for each question, which helps you solve the exercise. When you complete each question, you get more familiar with a control structure, loops, string, and list.
Use Online Code Editor to solve exercise questions.
Also, try to solve the basic Python Quiz for beginners
Exercise 1: Given two integer numbers return their product. If the product is greater than 1000, then return their sum
Reference article for help:
Accept user input in Python
Calculate an Average in Python
Given 1:
number1 = 20
number2 = 30
Expected Output:
The result is 600
Given 2:
number1 = 40
number2 = 30
Expected Output:
The result is 70
Explanation:
In this question, the options are missing. Here is the complete question:
Thomas would like to know when is the best time of the season to plant his tomato seeds. Which type of informational reference should he use?
A. Encyclopedia
B. Atlas
C. Almanac
D. Any of these
The correct answer is Almanac
Explanation:
Knowing the season or month to plant specific seeds is a relevant factor that can determine whether a plant grows and thrives. Because of this Thomas needs accurate and complete information about the best time of the year to plant tomatoes. This information can be found in an almanac because almanacs include planting dates for different plants as well as weather forecasts and other important events that can affect agriculture. Moreover, this informational reference provides information about the current year, which makes it to be updated in the topics it covers.
Answer:
Single quotes; Double quotes
Explanation:
Character literals is a type of literal in Java programming used for denoting constant valued character. Examples are 'g', '6', 'A' '+' etc.
String literals is a type of literal in Java programming used for representing or displaying of a sequence of characters or string values. Examples are "Hello Brainly user"
In Java programming, Character literals are enclosed in single quotes, string literals are enclosed in double quotes.
The two different uses or applications of data that is biases in word embeddings and may cause significant ethical harms are:
- Class immobility
- Systemic racism
<h3>What are the
biases in word embedding?</h3>
Word embeddings is known to be made up of a high level bias such as group stereotypes and prejudice.
The two different uses or applications of data that is biases in word embeddings and may cause significant ethical harms are:
Class immobility
Learn more about biases from
brainly.com/question/24491228
#SPJ1
Answer:
First: work out the difference (increase) between the two numbers you are comparing.
Increase = New Number - Original Number.
Then: divide the increase by the original number and multiply the answer by 100.
% increase = Increase ÷ Original Number × 100.
Explanation: