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
List two types of energy sources
makvit [3.9K]

Answer:

Types of energy sources include;

  • Geothermal energy
  • Solar energy
  • Wind power
  • Nuclear energy
  • Hydropower
  • Coal burning
  • Natural gas
  • Biomass energy
8 0
3 years ago
Read 2 more answers
The algorithm and flowchart
tatuchka [14]

Answer:

Make a IPO chart it will be way easier!

Explanation:

4 0
3 years ago
Who is responsible for the actions of autonomous systems? (please help me :C)
Oksanka [162]

The responsibility for failures was deflected away from the automated parts of the system (and the humans, such as engineers, whose control is mediated through this automation) and placed on the immediate human operators, who possessed only limited knowledge and control.

8 0
3 years ago
Read 2 more answers
Imagine a mythical set of protocols with the following details. Maximum Link-Layer data frame: 1,455 bytes Network-Layer header
NemiM [27]

Answer:

The MSS is 1455

Explanation:

MSS or maximum segment size is the total number of data transferred minus the TCP and IP header. The total number of transmitted frames in a switch network is between 64 bytes to 1518 bytes with a header and trailer. The MSS does not exclude this data-link layer effect but only the transport layer like TCP and UDP, and IP address header, unlike the mtu (maximum transfer unit) which involves all headers.

4 0
3 years ago
⣠⣤⣤⣤⣤⣤⣶⣦⣤⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀
mestny [16]

Answer:

LOL sweet

Explanation:

4 0
3 years ago
Read 2 more answers
Other questions:
  • The method of loci, peg-word system, substitute word system, and method of word association are all examples of _____.
    8·1 answer
  • Write a program that lets a maker of chips and salsa keep track of their sales for five different types of salsa they produce: mi
    8·1 answer
  • Which of the following is NOT something you can specify in the bullets and numbering dialog box?
    8·1 answer
  • The idea generating technique most often used in writing business letter is ?
    9·2 answers
  • Dustin runs a command at the command line trying to find out what kernel version the system is running. However, it doesn't give
    12·1 answer
  • Why is it important to be part of a team in times you fail and in times you succeed?​
    15·1 answer
  • Choose the parts of the browser window. PLEASE ANSWER QUICKLY TEST
    12·2 answers
  • Decimal numbers is equivalent to binary 110
    5·1 answer
  • Which view would you need to use to make changes to the design theme for the entire presentation?
    10·2 answers
  • Scientist Galileo Galilei used the
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!