🟢 Question 1: What is the data type of the mystery variable?
mystery = 734_529.678
mystery = 734_529.678
Anonymous Quiz
19%
String
17%
Qurtle
54%
Float
9%
Float
❤12
🔵 Question 2: I've put a spell on you. You are now a computer. If I give you the following code, what will you print out?
street_name = "Abbey Road" print(street_name[4] + street_name[7])
street_name = "Abbey Road" print(street_name[4] + street_name[7])
Anonymous Quiz
18%
ya
8%
en
13%
eR
61%
yo
👍15❤5
🟠 Question 3: Which statement below is incorrect?
Anonymous Quiz
8%
857.25 is a Float
65%
"False" is a Boolean
6%
932 is an Integer
21%
"523" is a String
1❤6👍5
Please open Telegram to view this post
VIEW IN TELEGRAM
❤10👍6
Please open Telegram to view this post
VIEW IN TELEGRAM
❤9🔥4👍1
We've covered a lot of mathematical operations you can do with Python. e.g. round(), floor division //, PEMDAS etc. This quiz is going to check to see if you can use all these concepts correctly.
Please open Telegram to view this post
VIEW IN TELEGRAM
👍4❤3🔥1
⚫️ Question 1: You are a computer. What will this line of code print?
print(6 + 4 / 2 - (1 * 2))
print(6 + 4 / 2 - (1 * 2))
Anonymous Quiz
12%
3
5%
5
79%
6.0
4%
8.0
1❤9👍4🔥1
🟡 Question 2: What is the data type of the result of the variable a in the following line of code:
a = int("5") / int(2.7)
a = int("5") / int(2.7)
Anonymous Quiz
4%
bool
10%
str
38%
int
48%
float
🔥8❤3
Please open Telegram to view this post
VIEW IN TELEGRAM
❤14👍4🔥2
Please open Telegram to view this post
VIEW IN TELEGRAM
❤9👍3
Control Flow and Logical Operators
————————
01 - Day 3 Goals what we will make by the end of the day
02 - Control Flow with if else and Conditional Operators
03 - Interactive Coding Exercise: Odd or Even Introducing the Modulo
04 - Nested if statements and elif statements
05 - Interactive Coding Exercise: BMI 2.0
06 - Interactive Coding Exercise: Leap Year
07 - Multiple If Statements in Succession
08 - Interactive Coding Exercise: Pizza Order Practice
09 - Logical Operators
10 - Logical Operators Quiz
11 - Interactive Coding Exercise: Love Calculator
12 - Day 3 Project Treasure Islan
————————
Please open Telegram to view this post
VIEW IN TELEGRAM
❤13👍3
Please open Telegram to view this post
VIEW IN TELEGRAM
❤9👍4🔥2