Questions
What is the command to execute a Python program?
How do you create a multi-line comment?
Can comments go at the end of a line of code?
What is the difference between an integer and a floating point?
What values can a boolean be?
What is the difference between
"42"
and42
?How do operators relate to operands?
Write an expression that includes operator(s) and operand(s).
What are the rules for variable names and give 5 examples of valid variable
names?
How can you turn a string into an integer?
What goes on the inside of an
if
condition (the part inside theparentheses)?
What programming construct could you use to do something different based on
three possible values (i.e.
small
,medium
,large
)?What is the difference between
=
and==
?What does the variable pancakes hold after the following expression:
How do you clone a remote Git repository?
How do you change the current directory in the terminal?
How do you check the current status of your Git repository?
The following expression causes an error. How can you make it work?
Last updated