Do you need to put quotation marks around print?
No, its written as Print
Whats a string
A line of code
What are floats?
Floats are numbers that go through the compiler that ends with a decimal or any number placed in.
What does the "+"
It can either add numbers in a string or it can take two separate words and combine them.
What is Boolean?
Boolean is a word that has two values which are True and False.
Are you able to use + to add other strings?
Yes, it would look like this "Hello" + "World"
What is a muti string
More than one line of code combined using "+"
How are floats produced?
A float is produced by running an operation on two floats, or on a float and an integer.
What does the forward slash do "/"?
The "/' can divide numbers in a string
What does comparison do?
Comparison is the definition its self. It just compares the numbers that are within the line/string.
What will happen if you put parentheses around the statement that you want to print?
Example - print ("Hello")
Nothing, it would still go through
If one string is incorrect will all lines of code go through?
No, there will be a error and you'll have to look back to fix it.
Do you NEED to put a decimal point in a equation in order to get a float?
Of course not, because 8/2 will show 4.0
What does "*" do?
Its the square (^2) for algorithms
What is another comparison operator?
The not equal operator (!=), evaluates to True if the items being compared aren't equal, and False if they are.
What does Print do?
It goes through the compiler
Can strings contain numbers?
Yes, any character from the keyboard can be in a string.
Will floats randomly appear?
Yes, it all depends on the symbol you used for the equation.
What does "-"?
Subtraction
What are if statements?
You can use if statements to run code if a certain condition holds. If an expression evaluates to True, some statements are carried out. Otherwise, they aren't carried out.
If you use the wrong quotation marks will it go through the compiler?
No, you need to have the quotation marks that you started with and you'll need to end with it too.
Example Print "Hello World"
Can strings have three quotation marks?
Example """Hello World"""
Yes, there isn't a limit of quotation marks that you can place.
What is another word for Float?
A decimal
What can you use the period for?
You can use it to make decimals in a equatiion
What is a else statement?
An else statement follows an if statement, and contains code that is called when the if statement evaluates to False.