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
lara31 [8.8K]
4 years ago
13

Define a new object in variable painter that has properties "name" storing "Vincent van Gogh"; "artworks" storing "The Starry Ni

ght", "Irises" and "The Potato Eaters"; "bornDate" storing "March 30, 1853"; and "diedDate" storing "July 29, 1890".
Computers and Technology
1 answer:
trapecia [35]4 years ago
6 0

Answer:

painter = {'name' : "Vincent van Gogh", 'artworks': ["The Starry Night","Irises","The Potato Eaters"],'bornDate': "March 30, 1853", 'eyeColor': "July 29, 1890", 'diedDate': "July 29, 1890"} #this is a code which holds the questions defined value in a painter variable.

Explanation:

  • The above question wants to declare a variable that is in the form of a key and value pair.
  • The above question states to define name, artworks,eyeColor, and dieddate as a key and the other is defined as a value.
  • when a user wants to access the whole dictionary then he can do with the help of the painter variable.
  • But when he wants to access the value of any particular key, then he can do it with the help of the key name as "painter[keyname]".

You might be interested in
How to change my age on this app
RideAnS [48]
You can’t really change your age on this app. Once you submit you can’t really change it. I’m not sure why
6 0
3 years ago
Read 2 more answers
Someone help please!! i’ll give brainliest
Anni [7]

Answer:

1-Mouse

2-Display

3-Printer

4-Keyboard

Explanation:

6 0
3 years ago
Read 2 more answers
A _______ attack is where the input includes code that is then executed by the attacked system.
sweet [91]

Answer: Code injection

Explanation:

3 0
2 years ago
Refer to the image of the Cornell method, then use the drop-down menus to complete each statement. Number 1 should be . Number 2
kifflom [539]

Answer:

e

Explanation:

6 0
3 years ago
Read 2 more answers
palindrome is a string that reads the same forwards as backwards. Using only a xed number of stacks, and a xed number of int and
bixtya [17]

Solution :

check_palindrome$(string)$

   lower_$case$_string$=$ string$. to$_lower()

   Let stack = new Stack()

   Let queue = new Queue();

   for each character c in lower_case_string:

       stack.push(c);

       queue.enqueue(c);

   let isPalindrome = true;

   while queue is not empty {

       if (queue.remove().equals(stack.pop())) {

           continue;

       } else {

           isPalindrome=false;

           break while loop;

       }

   }

   return isPalindrome

Input = aabb

output = true

input =abcd

output = false

6 0
3 years ago
Other questions:
  • Identifying your learning preferences Helps You To
    12·1 answer
  • Using physical proximity to gain login information, passwords, or other personal information is known as a(n) ____.
    7·1 answer
  • You want to find information about Paris, France in the last five years, written in English. What is the best way to search for
    5·2 answers
  • To prevent injury when pulling a nail be sure the material holding the nail is
    14·1 answer
  • You want to average the numbers in the range b1:b30. you have named this range of cells data and wish to use this range name in
    9·1 answer
  • Write a C++ program that asks the user to enter his age. The program then should display the age in months:
    11·1 answer
  • Your customer asks you if it would be worth the investment for him to have Ethernet cabling installed to reach each of his works
    6·1 answer
  • Which type of memory helps in reading as well as writing data? With the help of , a computer can read as well as write or modify
    11·3 answers
  • Master pages are used to create
    7·1 answer
  • Generally, websites ending in .edu, .gov, and .org are less likely to be biased, or to show preference toward a certain financia
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!