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
Application area of word processor?​
kompoz [17]

Answer:

  1. Typing, editing,and printing different types of document .
  2. Formatting text, paragraph , pages for making attractive document .
  3. Checking spelling and grammar of document for making it error free.
  4. Inserting and editing pictures , objects, etc.
  5. Adding watermark , charts , quick flip, etc.
7 0
3 years ago
Read 2 more answers
How many answer or point do I answer/need to sent message?
Grace [21]

I'm a little confused about the question, but if you're asking how many points you need to ask a question, the minimum is 10.


4 0
2 years ago
9 dmz, vpn, vlan where in the network do you place a dmx, why, what attacks are prevented? what does a vpn do, provide an exampl
creativ13 [48]

At the: Firewall, the DMZ is configured in the Organization. Within the firewalls, it is accessible. They have been completed with the intention of adding an additional layer of safety to the organization to protect it.

The DMZ safeguards not only the web server but also the remainder of the network. To allow visitors to the network to access the web server, a security breach must be made.

The DMZ lessens the possible risk caused by this gap. A secure network, protected by the FortiGate, that only permits access if it has been specifically authorized is known as a DMZ network (from the term "demilitarized zone").

In this illustration, a private subnet is used by the DMZ network, which permits access to a web server by internal and external users using distinct addresses while blocking access from the web server to the internal network in the case that the web server is compromised.

To know more about DMZ click on the link:

brainly.com/question/2920815

#SPJ4

7 0
1 year ago
AYYOOOO CAN YOU HELP A GIRL OUUTT???
goblinko [34]

Answer: The answer is true

8 0
2 years ago
I need help picture above
sammy [17]

Answer:

True

Explanation:

hoped I helped Im Eve btw Have a great day and consider marking this brainliest if you do thank you in advanced!

6 0
3 years ago
Read 2 more answers
Other questions:
  • Which type of movement lets the player control an object's movement?
    5·1 answer
  • List two reasons why “buying a computer is no easy task” ?
    12·2 answers
  • What category of sensory receptors are sensitive to touch sound and motion?
    10·1 answer
  • T F The exit function can only be called from main .
    10·1 answer
  • Spencer wants to choose a career path that wouldn’t hold him to an office or laboratory. Which of the following career paths wou
    13·2 answers
  • In a five-choice multiple-choice test, which letter is most often the correct
    10·2 answers
  • Whixh options are available when a user modifies a recurring appointment. Check all that apply
    12·1 answer
  • Consider a DataFrame named df with columns named P2010, P2011, P2012, P2013, 2014 and P2015 containing float values. We want to
    9·1 answer
  • Which of the following lines of code correctly defines a function called combine? OA define "combine(a, b, c)" as: B. define(com
    9·1 answer
  • What is phishing?
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!