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
lesya [120]
3 years ago
11

Define a class, addresstype, that can store a street address, city, state, and zip code. use the appropriate functions to print

and store the address. also, use constructors to automatically initialize the member variables
Computers and Technology
1 answer:
xxTIMURxx [149]3 years ago
4 0

We will use Python for this task. 
 class addrestype(object): 
 # Constructor to initialize member variables
 def __init__(self, addr, city, state, zip):
  self.address = addr
  self.city = city
  self.state = state
  self.zip = zip 
 # Function to print the address (overrides behavior of builtin "print")
 def __str__(self):  return self.address + ", " + self.city + ", " + self.state + ", " + str(self.zip)

You might be interested in
True or false when a host gets an IP address from a DHCP server it is said to be configured manually
anyanavicka [17]

The answer to your question is false

6 0
3 years ago
What is trouble shoot​
Ivan

When a system trys to repair itself or something in the system/machine. (sorry im not good at explaining)

8 0
3 years ago
In the single-site processing, single-site data (SPSD) scenario, all processing must be done on the end user's side of the syste
Lyrx [107]

Answer:

The answer is "Option B".

Explanation:

In the database, the term SPSD is used. It is located on the host computer that helps to access connected dumb terminals. It is usually running on under multitasking, time-sharing operating systems, that enables you to use multiple processes to run simultaneously on a host computer accessing a single DP. It is not used for end user's sides, that's why it is not correct.

3 0
3 years ago
Read 2 more answers
What are three ways to call attention to the text on a web page?
Lesechka [4]

Answer:

Place it in a box, <u>underline</u> it, make it bold, and/or i<em>talicize</em> it, you could also make it larger.

  • You could make it a bulleted list
  1. Or a numbered list

<u>The possibilities are endless!</u>

3 0
3 years ago
Read 2 more answers
What happens when the computer is thrashing? quizzlet?
lutik1710 [3]
When computers need to use more memory than have RAM, they'll swap out pages of memory to their drive. When they need those memory pages, they'll swap out others and swap in the needed ones. If a computer needs enough additionall memory, it can get so busy swapping that it doesn't have any (or very little) time to do any useful work. That is called thrashing.

Unix calls swapping swapping. Windows calls it paging, probably because of the memory pages. Memory pages are 4096 (4KB) sections of memory.

Unix drives are usually partitioned with a swap partition, and swap files can be made in the filesystem. Windows just has pagefiles[s].
5 0
3 years ago
Other questions:
  • bj;ljfg'cfmb dfl kbslf jflk[gkdblkfd lbrkjlfbbfkjbdfjkbadbjbbkvbk'lbk'blbf;l;lkb lm;flklmkjlvkljvkljvbfbdsjsfbbjjlkbfjklbkfj'lgg
    9·2 answers
  • You are testing a web application for sql injection vulnerabilities. you send various sql statements which return results on the
    5·1 answer
  • Displays are geared for a specific resolution. what is this resolution called?
    15·1 answer
  • Fill the validateForm function to check that the phone number contains a number (use the isNaN function) and that the user name
    8·1 answer
  • EDVAC stands for? on which theory it is made on?
    15·1 answer
  • Hey guys. Can u help me pls? I need to add number1 and number2 together on Python, I don't know what I'm doing wrong. Thx for yo
    7·2 answers
  • Every single device can be connected to every other device on network, making the network mesh. This statement is True or False?
    8·1 answer
  • What was the name of the first personal computer and what year was it introduced
    7·1 answer
  • How to add links in HTML? ​
    8·1 answer
  • What is a program that includes a function parameter capable of doing?
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!