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:
By the year 2030, artificial intelligence (A.I.) will have changed the way we travel to work and to parties, how we take care of our health and how our kids are educated.
Answer:
simultaneously might be the answer
0
1
2
3
4
Those are the outputs
<u>Answer:</u>
Any formula entered in the excel sheet should begin with “=”. Otherwise excel reads that to be a normal text and it will not process the further to get a “result”.
A formula can be entered either in <em>the cell or in the “formula bar”</em>. Once a formula is entered and an enter key is encountered, the result will be displayed in the <em>cell and connected formula</em> gets displayed in the Formula bar.
When we move the focus over that cell it <em>displays only content and not formula,</em> because formula gets displayed only in the “formula bar”.