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
myrzilka [38]
4 years ago
6

What is the value of the variable phones after the execution of the following code? phones = {'John': '5555555', 'Julie' : '7777

777'} phones['John'] = '1234567'
Computers and Technology
1 answer:
uysha [10]4 years ago
3 0

Answer:

phones = {'John': '1234567', 'Julie' : '7777777'}

Explanation:

In the code given in the question phones dictionary contains contains two keys John and Julie and have the values '5555555' and '7777777' respectively. Now in the code the key John in the dictionary phones is assigned the value '1234567' .So the value corresponding to the key John becomes '1234567'.

You might be interested in
Programming CRe-type the code and fix any errors. The code should convert non-positive numbers to 1.
LUCKY_DIMON [66]

Answer:

Given

The above lines of code

Required

Rearrange.

The code is re-arrange d as follows;.

#include<iostream>

int main()

{

int userNum;

scanf("%d", &userNum);

if (userNum > 0)

{

printf("Positive.\n");

}

else

{

printf("Non-positive, converting to 1.\n");

userNum = 1;

printf("Final: %d\n", userNum);

}

return 0;

}

When rearranging lines of codes. one has to be mindful of the programming language, the syntax of the language and control structures in the code;

One should take note of the variable declarations and usage

See attachment for .cpp file

Download cpp
5 0
4 years ago
Which individual of the following would be most likely to be directly concerned with web security?
prohojiy [21]
Network Engineer is correct.
4 0
3 years ago
Read 2 more answers
If the pictures are not the same size when they are selected from a file,
const2013 [10]

Answer:

The correct answer is C) the pictures will remain the size as in the file

Explanation:

Microsoft Office PowerPoint is a multi-media presentation tool. It supports, videos, pictures, and hyperlinks.

When a picture is inserted by selection from a file, PowerPoint does not automatically resize. The editor or user will need to manually adjust the size(s) of the picture(s) to fit the dimensions they require.

Cheers

 

4 0
3 years ago
Which HTML tag is formatted correctly? This is a heading This is a paragraph This is a paragraph This is a heading
Dimas [21]

Answer:

See Explanation Section

Explanation:

A question like this is best presented or supported with attachments because the attachment gives a clear description of the question.

However, I'll answer your question in general terms.

A paragraph in HTML is tagged using the <p> and </p> tag.

For instance:

<p> This is a paragraph</p>

For headings;

There are 6 level of headings in HTML; h1 to h6.

The tag to use depends on the level of the headings.

Assuming the heading is level 1;

An example is

<h1> This is a heading</h1>

Use the examples I cited to answer your question

7 0
3 years ago
Read 2 more answers
What groups would you create to simplify permission assignment? What folder structure and corresponding file-level permission se
krek1111 [17]

The groups that would be created are contained in the attachment that I have added to the solution.

The groups would mainly consist of the administrator, the manager as well as the staff.

The answer to this question is in an attachment.

Read more on file system here: brainly.com/question/13179433

#SPJ1

6 0
2 years ago
Other questions:
  • Several steps are involved in creating a presentation. what is the last step in the process before preparing to presenting it?
    12·1 answer
  • Suppose company A wants to develop a program that duplicates the functionality of a programm by company B. Describe how company
    8·1 answer
  • Consider this data sequence: "3 11 5 5 5 2 4 6 6 7 3 -8". Any value that is the same as the immediately preceding value is consi
    6·1 answer
  • What service is used when your email program exchanges messages with the mail server on a distant network?
    10·1 answer
  • Who invented the collodian process
    6·2 answers
  • suppose as a head software engineer you assign the job of creating a class to a subordinate. You want to specify thirty-eight di
    11·1 answer
  • What do you use to put information into a computer?
    9·2 answers
  • Overview In this assignment, you will gain more practice with designing a program. Specifically, you will create pseudocode for
    7·1 answer
  • Computing is the provision of IT services on demand.
    9·1 answer
  • The ______ Works on a single variable or constant. *​
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!