Contained in ' ' or " "
String
Function that outputs things to the screen
print()
what will this program print?
x="Hello"
y="there"
print("x","y")
x y
Python is a free, open-source programming language
True or False?
True!
What holiday falls on April 1st?
April Fools Day!
What type of variable would you store the price of a Shamrock Shake in?
float
Function that gathers a user's answers to a question
What is wrong in the code?
x = 4
y = 10
if x <= y
print("x is less than or equal to y")
else:
print("y is lower than x")
There is no colon after the if statement
x = 4
y = 10
if x <= y:
print("x is less than or equal to y")
else:
print("y is lower than x")
What is the process of identifying and removing errors from computer hardware or software?
Debugging
How many computer scientists are women?
Only 20 percent of computer science and 22 percent of engineering undergraduate degrees in the U.S. go to women.
Name all 5 types of variables used in Python
Integer
Float
Character
String
Boolean
What is wrong with this function?
Print("I love Girls Who Code!!")
Capital P in Print
Why won't this work how we want it to?
number = input("What is your favorite Number?")
new_number = number + 10
number = int(input("What is your favorite Number?"))
new_number = number + 10
Name 2 other types of programming languages, other than Python
Java, JavaScript, HTML, Ruby, C, C#, C++, Scratch, etc.
What 3 fast food chains have the most locations globally?
Mcdonalds, Subway, and Starbucks
x = "$"
What type of variable is this?
Character
The input function will automatically store input as what type of variable unless specified otherwise?
String
How do you comment something in python?
( so it is not recognized as code)
# I am a comment
What is an IDE?
integrated development environment
What is Marquette University's Mascot?
Golden Eagle
Name 3 restrictions on naming a variable
-Reserved Words
-Containing Spaces
-Number or symbol as first character
Could you think of another built in function that could exist in python?
max(), int(), abs(), len(), range(), min()
What is the function for nextline?
\n
What year was Python created?
1991
What company created the first cell phone?
Motorola