verified solutions (17)
What is the extension for a python file? - correct answer ✔✔.py
When creating the first line of programming, there is one line everyone programs, and that is? - correct
answer ✔✔"Hello World"
Which of the following is not a String? - correct answer ✔✔43
Which operating system can't use to write Python programming? - correct answer ✔✔None, all can be
used to program Python
Which symbol is used to "escape" ignore special symbols, such as ' (single quote)? - correct answer ✔✔\
What program does Nick use to write Python in the videos? - correct answer ✔✔Replit
In Python, the data type int, will store what? - correct answer ✔✔f
What is the following output for the code? - correct answer ✔✔Today is Nov 22
Which variable name wasn't used in Nick's videos? - correct answer ✔✔purse
Which combination of quotes are not allowed? - correct answer ✔✔"hello'
What is the following output for the code? - correct answer ✔✔Today is Sept 16
Which variable name was not used in the video with Nick - correct answer ✔✔variable
,Which symbol is not used for math in Python - correct answer ✔✔x
In Python, the type float, which one is a float? - correct answer ✔✔5.5
Which operating system can't use to write Python programming? - correct answer ✔✔None, all can be
used to program Python
What is the extension for a python file? - correct answer ✔✔.py
Which of the following is not a String? - correct answer ✔✔43
When creating the first line of programming, there is one line everyone programs, and that is? - correct
answer ✔✔"Hello World"
What is the following output for the code? - correct answer ✔✔Today is Nov 22
To use the Random module, what must we include at the top of our code? - correct answer ✔✔import
random
What is the following output for this code? ex. age = 17
if age>= 18:
print("you are an adult")
else:
print("you are still a child") - correct answer ✔✔you are still a child
What symbol would you use to see if two things are equal to each other? - correct answer ✔✔==
What is the following output for the code? ex. import random
print(random.randit(1,10)) - correct answer ✔✔7
, Which Python code is correct? - correct answer ✔✔class_in_session = True
if number:
print("Yes, class is in session")
What is the following output for this code?
ex. temp = 70
if temp == 70
print("Perfect weather day")
print("Any sunny day is a great day") - correct answer ✔✔Nothing, there is an error in the code
What is the following output for this code?
ex.
age = 18
if age>= 18:
print("you are an adult")
else:
print("you are still a child") - correct answer ✔✔you are an adult
In Python, if I want to compare 2 values not equal to each other, what is the correct way to write the
code? - correct answer ✔✔!=
Which code will work? - correct answer ✔✔hungry = True
if hungry:
print("I need to eat, I am hungry")
What is the following output for this code?
ex.