<file_sep>import pyautogui as pg
import time
pg.hotkey ("winleft","ctrl","d")
pg.hotkey ("winleft")
pg.typewrite ("chrome\n",.1)
pg.hotkey ("winleft", "up")
pg.typewrite ("netflix.com\n", .5)
time.sleep(2)
pg.hotkey ('tab')
pg.hotkey ('tab')
pg.hotkey ("enter")
time.sleep (1)
pg.hotkey ("tab")
pg.typewrite ("<EMAIL>",.2)
pg.hotkey ('tab')
pw=pg.password('Enter password here','<PASSWORD>','','*')
pg.typewrite(pw+"\n", 0.3)
pw = ""
<file_sep>import webbrowser
import pyautogui as pg

fails = ["https://www.youtube.com/watch?v=IqTk1je6iYs"]

vines = ["https://www.youtube.com/watch?v=x0uXVy4fzUA"]




answer = pg.prompt(
"""
Which would you like to do?
a) Watch fails
b) Watch best vines of 2017

"""
    )

if answer == "a":
    for i in videos:
        webrowser.open(i)

elif answer == "b":
    for i in music:
        webbrowser.open(i)
<file_sep>import win32com.client as wincl

speak = wincl.Dispatch("SAPI.SpVoice")

speak.Speak("<NAME> in the chat.")

answer = pg.prompt("Enter your favorite color.")

if answer == "orange":
    speak.Speak("My favorite color is orange too! We must be twins.")

elif answer == "blue":
    speak.Speak("I don't like blue as much as IO like orange.")

else:
    speak.Speak("You liker the color " + answer)



speak.Speak("What kind of video should we watch?")

video = pg.prompt("Enter video below.")

speak.Speak("Ok, let's look for" + video + "on youtube and see what we find.")

wb.open("https://www.youtube.com/results?search_query=" + video)
<file_sep>name = "Lilja"
state = "hawaii"
city = "New York"
tvshow = "manhunt"
book = "Birlin Boxing Club"

print("Hello " + name)
print("have you visited " + state + " or " + city + " recently?")
print("Yes, I visited Hawaii!")
print("where did you go in " + state + "?" )

print("What is your favorite class?")
subject = input()
if subject == "History"
    print("Me too!")
else:
    print(subject + " is a great class!"
if subject == "Math"

else:
    print ("Ew I hate Math")
          
<file_sep># pyautogui
Automation
<file_sep>import pyautogui as pg

pg.moveTo(1293, 10,3)
pg.click(1293, 10, 1)
<file_sep>name = "<NAME>"
subjects = ["English","spanish","Math","History","Science"]

print ("My name is " + name)

#print(subjects)

for i in subjects:
    print("One of my classes is " + i)



colors = ["Pink","Blue","Purple","Green","Red"]

for i in colors:
    if i == "blue":
        print (i + " is the best color ever1")
    elif i == "Red":
        print (i + " is the worst color ever")
    elif i == "Green":
        print (i + " is the worst color ever")
    elif i == "Purple":
        print (i + " is the worst color ever")
    elif i == "Pink":
        print (i + " is the worst color ever")
    
    print("The best color is " + i)
    

colors = []

while True:
    print("wHAT are your favorite colors? Type 'end' to quit.")
    answer = input()
    if answer == "end":
        break
    else:
        colors.append(answer)

for i in colors:
    print ("One of you favorite colors is " + i)
        
<file_sep>import pyautogui as pg
import time
import webbrowser
points = 0

#question
answer =pg.prompt(
"""
Which would you rather do?

a) slap battle with a friend
b) get a butterfly tatoo

"""
    )

# Give points
if answer == "a":
    points +=1
elif answer == "b":
    points += 2



    




# END OF SURVEY

pg.alert("You are.....")

#ted
if points == 2:
    pg.alert ("Ted")
    webrowser.open("https://uproxx.files.wordpress.com/2014/09/ted-mosby.jpg?quality=100&w=650")
#barney
elif points == 1:
    pg.alert ("Barney")
    webbrowser.open ("https://i.imgur.com/aDCdAyb.gif")
    
<file_sep>import time







### MAD LIBS ###
### scource: https://www.google.com/search?sa=G&hl=en&q=mad+libs+printable+free&tbm=isch&tbs=simg:CAQSlwEJ5j-b1v4OVX4aiwELEKjU2AQaBAgUCAoMCxCwjKcIGmIKYAgDEii-Hb0dwR2QE4oTwB2_1HYsTkRP1B8o_15D3LP-U93TTmPec92zTJNt40GjCLuiy9t-1BW6cRRWjyAw1lbwRb_1C-73ijzlI17lkzOxASCb2ocBJYZ5V4z0_1TU3mQgBAwLEI6u_1ggaCgoICAESBJRzf8EM&ved=0ahUKEwim39fBiofXAhXM4IMKHZQuDXgQwg4IIygA&biw=763&bih=351&dpr=1.75#imgrc=X32CJ6QabHwUPM: ###
### Ask Questions here ###
print("write a adjective")
adj1 = input()

print("write a noun")
noun1 = input()

print("Write an adjective")
adj2 = input()

print("Write a plural noun")
plnoun1 = input()

print("Write an adverb")
adverb1 = input()

print("Write a verb ending in ING")
verbING1 = input()

print("Write a silly word plural")
sillyplural = input()

print("Write a adjective")
adj3 = input()

print("Write a plural noun")
plnoun2 = input()

print("Write a First name")
fn1 = input()

print("Write an adjective")
adj4 = input()

print("Write a number")
number1 = input()
 
print("Write another first name")
fn2 = input()

print("Write another first name")
fn3 = input()

print("Write another first name")
fn4 = input()

print("Write another first name")
fn5 = input()

print("Write another first name")
fn6 = input()

print("Write another first name")
fn7 = input()

print("Write a Plural Noun")
plnoun3 = input()







### tell the MadLib ###
print("When we lookj up into the sky on a/an " + adj1 + " summer night, we see millions of tiny spots of light.")
print("Each one represents a/an " + noun1 + "which is the center of a/an" + adj2 + " solar system with dozens of " + plnoun1 + " revolving " + adverb1 + " around a distant sun ")
print("Somtimes these suns expand and begin " + verbING1 + " their neighbors.")
print("Soon they will become so big, they will turn into " + sillyplural)
print("Eventually they subside and become " + adj3 + "giants or perhaps black " + plnoun2)
print("Our own planet, which we cal l" + fn1 + "circles around our " + adj4 + "sun " + number1 + " times every year")
print("There are eight other planets in out solar system.")
print("They are named " + fn2 + " "  + fn3 + " " + fn4 + " " + fn5 + " " + fn6 + " " + fn7 + " Jupiter, and Mars.")
print("Scientists who study these planets are called " + plnoun3 + " .")


time.sleep (130)
<file_sep>import random

words = ["apple","computer","pen","girl","sticker"]

hint1 = ["fruit","technology","writing utensel","Gender","sticky"]

hint2 = ["Comes from tree","key board","uses ink","pink","often used to decorate computers"]

number = random.randint(0,4)

secretword = words[number]

guess = ""

counter = 0

while True:
    print("Guess the secret word!")
    print("Type 'hint1', 'hint2', 'first letter', 'last letter', or 'give up' for help.")
    guess = input()

    if guess ==secretword:
        print("you win!")
        break
elif guess == "hint1":
    print(   hint1[number]   )

elif guess == "hint2":
    print(   hint2[number]   )

elif guess == "first letter":
    print(   secretword[-1]   )

elif guess == "last letter1":
    print(   secretword[-1]   )

elif guess == "give up":
    print("The last word was" + secretword  )
    break

else:
    counter +=1
<file_sep>print("what is your favorite Movie?")
show = input ()

if show == "Mean Girls":
    print("Who is your favorite character?")
    character = input()
    if character == "<NAME>":
        print ("She is my favorite character too!")









print("What is your favorite book?")
book = input()

if "wonder" in book:
    print("I like the book, but they are comming out with a movie!")
print("What is your favorite color?")
color = input()
if "blue" in color:
    print("My favorite color is blue too!")
if "pink" in color:
    print("Pink is a really cool color!")
    
