How would you print the text:
Python is neato!
print("Python is neato")
In Python, what is a string or example of a string?
"any text inside quotation marks"
It's line #1 in my Python script and I want to put in the module for "random" what do I type?
import random
what does this code do:
random.choice(["1", "2", "3"])
It will randomly choose the number 1, 2 or 3
true or false: the 'await' command can only be used with 'async' functions
true
I want to write a variable called: var that contains a value of 9000.
How would I write that?
var = 9000
True or False, you can ONLY write strings with double quotation marks: "Like these"
'False'
I want to declare a function called "TacoTuesday" how would I write that?
def TacoTuesday
give me one possible number that would be generated from this code:
random.randint(10,100)
how is the code "async def" different from regular "def"?
async can continuously run code the same as other code
Look at the sample code in assignment 1.11 in Canvas, how would I call the bot (activate the bot in discord)?
!99
I need to download the module for time, what do I write in the terminal?
pip install time
I want to have a 20 second delay before my code activates, write the code that will do that
time.sleep(20)
after adding the "webbrowser" module how what code would I need to OPEN the san domenico website?
write the code
webbrowser.open("sandomenico.org")
What does this do?
x, y = random.randrange(xsize), random.randrange(ysize)
pyautogui.moveTo(x, y, duration=0.2)
moves the mouse to random positions within the x/y axis