This post was written by AI
Look, everyone else is doing it; why shouldn't I?
OK, the title is technically clickbait. I'm too lazy to even get AI to write a post for me. Therefore, this is just a rewriting of this post, which is pseudocode, but translated by ChatGPT into Python code:
while True:
if door_button == "pressed":
# close the door
close_door()
# play video "I am SANDERS.mp4"
play_video("I am SANDERS.mp4")
if seat1 == "occupied" or seat2 == "occupied" or seat3 == "occupied" or seat4 == "occupied":
if seat1 == "unoccupied" or seat2 == "unoccupied" or seat3 == "unoccupied" or seat4 == "unoccupied":
# play video "My readings indicate the need for cooperation.mp4"
play_video("My readings indicate the need for cooperation.mp4")
while True:
# play video "Keep the arrow in the box.mp4"
play_video("Keep the arrow in the box.mp4")
if arrow_exits_moving_box():
# play video "My readings indicate the need for cooperation.mp4"
play_video("My readings indicate the need for cooperation.mp4")
break
elif wait_for_seconds(10):
if recipe == "Original" and pieces == 6 and flavor == "Delicious":
# play video "You completed the simulation.mp4"
play_video("You completed the simulation.mp4")
# open the window
open_window()
# exit the program
exit()
else:
# play video "Please take your seats.mp4"
play_video("Please take your seats.mp4")
# BONUS program which takes place in Pierce's head
if "My name is" in crewmember_speech:
# get the crewmember's name and store it in 'Name'
Name = get_crewmember_name(crewmember_speech)
# store 'Name' as 'Crewname1'
Crewname1 = Name
elif "I hate to pull reality on you" in crewmember_speech:
# get the captain's name and store it in 'Name'
Name = get_captain_name(crewmember_speech)
# store 'Name' as 'Capname'
Capname = Name
# play video "Please take your seats.mp4"
play_video("Please take your seats.mp4")
- The text in this post highlighted in yellow was written by ChatGPT
- The prompt given was "Translate the below pseudocode into Python" followed by the code in this post
Comments
Post a Comment
Feel free to answer the questions in the review or suggest a new movie for me to review, but if you want to say something else, please bear in mind this is a family-friendly blog and your comments can be seen by anyone. Offensive comments will be removed.