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
d1i1m1o1n [39]
3 years ago
10

What is the value of the variable index after the Python code below is executed? word = 'bAnana' index = word.find('a')

Computers and Technology
1 answer:
nalin [4]3 years ago
7 0

Answer:

index = 3

Explanation:

the find() function finds the first instance of a letter or word.

'b' = 0

'A' = 1

'n' = 2

'a' = 3

'n' = 4

'a' = 5

the first instance of 'a' in  "bAnana" is found at index location 3 computer scientist start counting from zero.

You might be interested in
Imagine you're in charge of managing an annual fest at your school. You have to select students and assign them different tasks.
kenny6666 [7]

Answer:

Quality traits are important in many ways. A persons traits identifies them of how they treat you or how you might treat them. It is important to find good working people for the job. For example if one student is good at a specific task I might put them in that task or if another is good at stocking shelves or finding books I might put them in the library to help students find books. It is important as a supervisor to find people that listen and follow instructions not people that mess around and are unorganized. These qualities and traits are important to see the real potential of the employees. Finding the right people for the job will help the school and you as the supervisor to manage these employees. Making a application or employment sheet will help to find the right people making a sheet with some questions and have the potential employees fill it out to find their traits and skills.

Explanation:

Sorry I didn't have much background information on what you wanted me to write hope this works you can edit and change stuff though.

Also run this through Grammarly's plagiarism tester to see if it is plagiarism!

5 0
3 years ago
As a project manager, why is analysis an important aspect of the job? Clarify the value of teamwork List the benefits of brainst
kozerog [31]

Answer:

Analysis is an important aspect of the job because it makes proper decision making process.

The values of teamwork are to find the best solution to problems and motivate the whole team.

The benefits of brainstorming include outside input, idea building, routine breaks, .etc...

The advantages of project planning are:

  • Team members become responsible for tasks assigned to them
  • Planning is required so that labor, finance and time resources can be thoroughly considered, including the risk of project delays due to some members working on several projects at the same time
  • Allowance for contingencies should be included in project plans so that if and when they arise, risk mitigation strategies are ready.
  • With a clear direction to follow, team members don’t get sidetracked by their own ideas.

Explanation:

8 0
3 years ago
Buying an existing business
HACTEHA [7]
Goin to make great profit
8 0
3 years ago
What is the purpose of this parallelogram shape in a flowchart? O decision process o input or output start or end​
Zepler [3.9K]

Answer:

input or output something

Explanation:

3 0
3 years ago
(1) Prompt the user to enter two words and a number, storing each into separate variables. Then, output those three values on a
Sergeu [11.5K]

Answer:

import java.util.Scanner;

public class num3 {

   public static void main(String[] args) {

       Scanner in = new Scanner(System.in);

       System.out.println("Enter Favorite color");

       String word1 = in.next();

       System.out.println("Enter Pet's name");

       String word2 = in.next();

       System.out.println("Enter a number");

       int num = in.nextInt();

       //Point One

       System.out.println("You entered: "+word1+" "+word2+

               " "+num);

       //Point Two

       String passwordOne = word1+"_"+word2;

       String passwordTwo = num+word1+num;

       System.out.println("First password: "+passwordOne);

       System.out.println("Second password: "+passwordTwo);

       //Point Three

       int len_passwrdOne = passwordOne.length();

       int len_passwrdTwo = passwordTwo.length();

       System.out.println("Number of characters in "+passwordOne+" :" +

               " "+len_passwrdOne);

       System.out.println("Number of characters in "+passwordTwo+" :" +

               " "+len_passwrdTwo);

   }

}

Explanation:

  • This question is solved using java programming language
  • The scanner class is used to receive the three variables (Two string and one integer)
  • Once the values have been received and stored in the respective variables (word1, word2 and num), Use different string concatenation to get the desired output as required by the question.
  • String concatenation in Java is acheived with the plus (+) operator.
3 0
3 years ago
Other questions:
  • Write a function called ReverseLetters that takes an input phrase consisting of a single word and reverses the sequence of lette
    15·1 answer
  • in a flashlight many parts work together as a system. which of the following parts is considered the output in this particular s
    13·2 answers
  • Where can I easily find an easy app or program to use for making/editing videos?
    13·1 answer
  • Add an array, which will store the most recent 5 recent transactions. For the array, add an insert function which will store the
    10·1 answer
  • Jackson is teaching a class the concept of the binary number system. Which term will he use to refer to the leftmost bit of a bi
    11·2 answers
  • Im building my first gaming pc, got any part suggestions or tips?
    7·2 answers
  • If you have a 99% and you got a 50 on a test what is the grade please I will give brainless
    7·2 answers
  • Start with the following Python code.
    6·1 answer
  • Join me in mincraft I will tell you my code if you want to join and the mincraft I play is mincraft education edition
    8·2 answers
  • What is the best method for modern businesses to authorize the use of workplace resources to its employees? a. assign them a use
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!