Hello, I am an absolute beginner that just started, and i need help with online course homework.
Instruction
Using Pseudocode:
Pseudocode with Input and Output
The goal is to write a program that asks the user to answer a joke and then print the response to the screen.
The pseudocode for this program could look like: Input: Ask the user what computers like to eat. Output: Display two messages. One will state the user’s guess. The other will share the correct answer.
My code:
#Pseudocode Sample
def main():
answer = input("What part of a computer does a spider use?")
print("Your guess was" + answer + ".")
print("The correct answer was webcam."
main()
Output
ParseError: bad input on line 8