subject

What is wrong with this code? This supposed to be a python code. def main():
print("This is meant for me to learn about different types of people.")
print("What is your favorite animal")
favAnimal = input("What is your favorite animal?")

print("Wow that's a really cool animal.")
print("Do you know how to speak different languages")
answer = input("Do you know how to speak different languages")
if(answer == "yes"):
print("That's amazing")

else:

print("You don't know how to speak different languages don't sweat it neither do I.")
main()

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 18:00, markleal9484
What ordering of tcp flags makes up the three-way handshake?
Answers: 2
image
Computers and Technology, 22.06.2019 02:00, ayoismeisjuam
The word ‘play’ comes with many different interpretations and a variety of definitions. discuss some of the various meanings tied to the word play. why is the concept of play thought to be an important addition to the workplace? do some (brief) research online and give an example of how play in the workplace is being done right.
Answers: 2
image
Computers and Technology, 23.06.2019 07:00, bskyeb14579
Why is investing in a mutual fund less risky than investing in a particular company's stock? a. mutual funds only invest in blue-chip stocks. b. investments in mutual funds are more liquid. c. mutual funds hold a diversified portfolio of stocks. d. investments in mutual funds offer a higher rate of return.
Answers: 2
image
Computers and Technology, 23.06.2019 07:30, barkonatree
What is the penalty for violating section 1201 of title 17 chapter 21 of the us code
Answers: 1
You know the right answer?
What is wrong with this code? This supposed to be a python code. def main():
print("This is...

Questions in other subjects:

Konu
Mathematics, 19.02.2021 20:30
Konu
Arts, 19.02.2021 20:30