1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Alisiya [41]
3 years ago
9

What is wrong with this code? This supposed to be a python code.

Computers and Technology
1 answer:
eimsori [14]3 years ago
7 0

def main():

   print("This is meant for me to learn about different types of people.")

   <em>#print("What is your favorite animal")</em>

   favAnimal = input("What is your favorite animal?")

   <em>#print("Wow that's a really cool animal.") </em>

<em>    #print("Do you know how to speak different languages")</em>

   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()

1. We have to comment/remove all those lines with the print () method that contain questions and "must" accept user input, because in the variable declaration the questions with the input are already printed.

2. Since there are no curly braces in Python, you should use tabs instead.

You might be interested in
Need help with this filling out all please thank you
Arada [10]

You have to put some info about your sport in the blue area. In the bracketed area.

3 0
4 years ago
Next
umka21 [38]

Answer:

script=java

makeup=Html

css=text

dom=document

Explanation:

3 0
2 years ago
Which of these is most often the cause of the Blue Screen of Death?
Masja [62]

D.

a device driver problem

5 0
3 years ago
Swiping and pinching are graphical user interface (gui) _____________.
Sergeu [11.5K]
Swiping and pinching are graphical user interface (gui) to zoom in or zoom out.  <span>One of the many multitouch gestures on today's laptops is the ability to </span>pinch<span> two fingers to </span>zoom<span> in and </span>out<span> in a window. </span>
6 0
4 years ago
Read 2 more answers
Use the paragraph underneath to answer the four questions.
Xelga [282]
Wow...that’s a long paragraph
8 0
3 years ago
Other questions:
  • Which of the following BEST represents the relationship between physical fitness and exercise?
    6·1 answer
  • How should you decide what to wear to an interview? What kind of things should be considered?
    5·1 answer
  • What will be printed when the method printstuff is called?
    7·1 answer
  • If there are 10 routers between the source and destination hosts, how many transport processes will be involved on all devices?
    11·1 answer
  • The ____________________ packet-filtering firewall allows only a particular packet with a particular source, destination, and po
    10·1 answer
  • In one to three sentences describe one reason you would import data into a datebase
    13·1 answer
  • I love this an this a a good app ❤️❤️❤️​
    5·2 answers
  • Assume a computer uses pipelining of 9 stages. Each stage demands 3 clock cycles to finish its task. How many clock cycles are n
    9·1 answer
  • Select the correct answer from each drop-down menu.
    13·1 answer
  • Make and run a Python program which:
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!