🔵 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
16%
ya
7%
en
14%
eR
64%
yo
👍12❤2
🟠 Question 3: Which statement below is incorrect?
Anonymous Quiz
9%
857.25 is a Float
67%
"False" is a Boolean
5%
932 is an Integer
19%
"523" is a String
1👍4❤3
Please open Telegram to view this post
VIEW IN TELEGRAM
👍3❤2
Please open Telegram to view this post
VIEW IN TELEGRAM
❤3🔥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
👍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
13%
3
4%
5
79%
6.0
4%
8.0
1❤6👍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
47%
float
🔥7❤1
Please open Telegram to view this post
VIEW IN TELEGRAM
❤8👍2🔥1
Please open Telegram to view this post
VIEW IN TELEGRAM
❤3👍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
❤7👍1
Please open Telegram to view this post
VIEW IN TELEGRAM
❤7👍1🔥1