31. Explain what the program does. Write out the output 20 PRINT "Hellooo00000000000, world!" 30 PRINT "I'm learning about commands in BASIC." 40 PRINT 'This text is being printed via the PRINT commarrd. 2 209​

Answers

Answer 1

o_num = input ("Please enter the amount of \"o\": ")

zero_num = input ("Please enter the amount of zeros: ")

i = 0

while i < o_num and i < zero_num:

repeat_o = "Hell" + o_num

repeat_zero = repeat_o + zero_num

i+=1

print (repeat_zero)


Related Questions

What is software? Why is it needed?​

Answers

Explanation:

Software is a data and information collection of computer.

It needs to protect computer from viruses.

I hope this helps you

They are correct? thank you!

Answers

Answer:

Yes they are correct. welcome....

disadvantage of monolithic programming​

Answers

Answer:

=Tight coupling between components, as everything is in one application.

=Less reusability.

=Large code base; tough for developers and QA to understand the code and business knowledge.

=Less Scalable.

=Does not follow SRP (Single Responsibility Principle)

=More deployment and restart times.

Write a program that uses the function strcmp() to compare two strings input by the user. The program should state whether the first string is less than, equal to, or greater than the second string7. Write a program that uses the function strcmp() to compare two strings input by the user. The program should state whether the first string is less than, equal to, or greater than the second string

Answers

user_str1 = str ( input ("Please enter a phrase: "))

user_str2 = str ( input("Please enter a second phrase: "))

def strcmp (word):

user_in1 = int (len(user_str1))

user_in2 = int (len(user_str2))

if user_in1 > user_in2:

return "Your first phrase is longer"

elif user_in1 < user_in2:

return "Your second phrase is longer"

else:

return "Your phrases are of equal length"

Select the scenario that describes a top-down approach to data warehouse design.


Cathy’s Cards and Gifts, which has three stores, creates data marts for its sales, marketing, and delivery departments to study the possibility of establishing a new store.


Crawford's Fabrics, which wants to expand its operations, combines data from the purchasing and sales departments into a central database, to be divided into new data marts as needed.


Cynthia’s Florals, which is dealing with debt, creates new data marts for the service, delivery, and sales departments to develop a strategy to stay in business.


Connor’s Meat Market, which just opened, creates data marts to track the sale of each of the following meats: beef, pork, lamb, and fish.

Answers

Answer:

Crawford's Fabrics, which wants to expand its operations, combines data from the purchasing and sales departments into a central database, to be divided into new data marts as needed.

The scenario defines a top-down approach to data warehouse design as "Crawford's Fabrics, which wants to expand its operations, combines data from the purchasing and sales departments into a central database, to be divided into new data marts as needed".

What is a top-down approach to data warehouse design?

In the "Top-Down" method system, a data warehouse exists defined as a subject-oriented, time-variant, non-volatile, and integrated data storage for the entire business data from various sources exist validated, reformatted, and saved in a normalized (up to 3NF) database as the data warehouse.

Therefore, the correct answer is option b) Crawford's Fabrics, which wants to expand its operations, combines data from the purchasing and sales departments into a central database, to be divided into new data marts as needed.

To learn more about warehouse design

https://brainly.com/question/25885061

#SPJ2

10. Which property is used to show the form in maximize state
a) Selection State b) Window State c) Mode d) Opening State

Answers

Answer:

windows state

Explanation:

the answer is windows state.

Which is the first computer brought in nepal for the census of 2028 B.S​

Answers

Answer:

The first computer brought in Nepal was IBM 1401 which was brought by the Nepal government in lease (1 lakh 25 thousands per month) for the population census of 1972 AD (2028 BS). It took 1 year 7 months and 15 days to complete census of 1crore 12.5 lakhs population.

Polymorphism with Stores - PYTHON
The goal of this program is to create classes that represent to a certain degree different types of stores in real life and the information tracked and services provided by these stores. In order to accomplish this the following required classes have to be created:
I. Create a file called store.py which contains an abstract class called Store which is made up of the following:
Attributes/Properties
o Store name
o Store address
Store availability/status (open or closed)
o Sales tax percentage Functions/Functionality
o Constructor which provides the ability to pass and set the values for the various attributes
Getter and setters for all the attributes mentioned above is_store_open should return True if the store is open and False if the store is closed
Abstract function called: calculate_total_sales_tax
o Abstract function called calculate_total_sales
II. Create a file called restaurant.py which contains a class called Restaurant which is type of Store. It should possess all the attributes and functions present in the Store class without having to re-implement those in the Restaurant class.
The Restaurant class is made up of the following:
Attributes/Properties
o Total number of people served Max occupancy
o Current occupancy o Price per person Functions/Functionality
o Constructor which provides the ability to pass and set the values for the various attributes
seat_patrons should do the following: Take the number of people to be seated as input
Update the values of the appropriate attributes
If number of people to be seated does not exceed or equals the max occupancy
Print "Welcome to [replace with name of restaurant]"
• Return True If number of people to be seated exceeds the max occupancy
Print "We are at capacity, we appreciate your patience"
Return False
serve_patrons which should do the following:
Take the number of people to serve as input
Update the values of the appropriate attributes
Return the number of people being served currently
o checkout_patrons (this is when the patrons are ready to leave the restaurant) which should do the following:
Take the number of people leaving as input
Update the values of the appropriate attributes
Return the current occupancy of the restaurant
o Create a getter and setter for the attribute: Price per person
III. Create a file called grocery_store.py which contains a class called GroceryStore which is type of Store.
It should possess all the attributes and functions present in the Store class without having to re-implement those in the GroceryStore class.
The GroceryStore class is made up of the following:
Attributes/Properties
o Total revenue
Grocery store type (independent or chain)
Functions/Functionality
o Constructor which provides the ability to pass and set the values for the various attributes
sell_item which should do the following:
Takes the quantity and price of an item as input
Update the values of the appropriate attributes
Return the total revenue of the grocery store
o Create a getter and setter for the attribute: Grocery Store type
IV. Create a file called shopping.py which will make use of the above mentioned Restaurant and GroceryStore classes and call their various functions to simulate the actions which take place in real life restaurants and grocery stores in order to test your code.
Reminder: Do not forget to implement the two abstract functions specified in the Store class within each of the classes mentioned above

Answers

Answer:

. Create a file called store.py which contains an abstract class called Store which is made up of the following:

Attributes/Properties

o Store name

o Store address

Store availability/status (open or closed)

o Sales tax percentage Functions/Functionality

o Constructor which provides the ability to pass and set the values for the various attributes

Getter and setters for all the attributes mentioned above is_store_open should return True if the store is open and False if the store is closed

Abstract function called: calculate_total_sales_tax

o Abstract function called calculate_total_sales

Polymorphism is used in Python for a variety of purposes, most notably Duck Typing, Operator and Method overloading, and Method overriding, just like it is in other programming languages like Java and C++.

What role of Polymorphism is used in different program?

The + operator is used to execute arithmetic addition operations on integer data types. As a result, the procedure above produces 3. The + operator is also used to execute concatenation for string data types. The output of the aforementioned application is Python Programming.

The opposite of uniformity, polymorphism, is defined as having “various forms.” Overloading and overriding are two different approaches to implement this polymorphism.

Therefore,`Three types of polymorphism exist in object-oriented programming languages: subtype polymorphism, parametric polymorphism, and ad-hoc polymorphism.

Learn more about Polymorphism here:

https://brainly.com/question/29241000

#SPJ5

Explain how mobile phone production could be more sustainable​

Answers

Answer:

Sustainable design - the key features for sustainable phones are: use of sustainable and recycled materials, the use of less energy and efficient charging, durability, and last but not least they should be easy and inexpensive to repair.

Answer:

One of the best ways to change this is to voice your concern to cell phone manufacturers for more sustainable products. Request smartphones that are made with fewer hazardous chemicals, manufactured in plants powered by renewable energy, and that contain recycled materials.

Explanation:

Write an algorithm in the form of Pseudocode and Flowchart to convert a distance in miles and output the equivalent distance in kilometer.
Please help

Answers

Answer:

just by sseudocode

start

read ML

KM=ML*0.621

write KM

stop

define a computer with its Proper meaning​

Answers

Answer:

computer is defined as a electronic machine which gives us meaningful result as fast as possible

Answer:

As known a computer can be defined as the use of computers to store, retrieve, transmit and manipulate data or information.

Tại một xí nghiệp có ba máy làm việc độc lập. Trong một ca, xác suất cần sửa
chữa của từng máy lần lượt là 0,1; 0,15; 0,2. Tính xác suất để trong một ca:
a) Không có máy nào cần sửa chữa.
b) Có nhiều nhất hai máy cần sửa chữa.

Answers

bạn tìm ra cách giải chưa chỉ mình với

thanks b

Other Questions
90:120 table to garbage can? Discuss how through pursuing the programme B.A social studies education at the university,graduate can acquire the underlisted university-based based competences like knowing yourself,experiencing working life while receiving the education apprenticeship, exploring other means of developing skills /competence not necessarily taught in school and branding and marketing oneself is inevitable a noun Kylie is comparing the cost of two housekeeping companies, DoItRight and CleanIt. The table describes the costs for DoItRight.Hours, x 1.5 3 3.5 4.5Total Cost, f(x) $26 $44 $50 $62The cost of CleanIt Housekeeping is represented by g(x) = 10x + 16, where x represents the number of hours and g(x) represents the total cost in dollars.Determine which company has the greater initial cost. Plot a point on the graph to represent the initial cost of that company. ABC D PICK ONE Correct answer will get you brainiest Joshua is trying to find the product of 38 12. Which expression shows how Joshua could use place value to break up this problem and solve it?(32 + 6) (10 + 2)(30 + 8) (10 + 2)(31 + 7) (11 + 1)(30 + 8) (11 + 1) Algebra Piecewise functions!!!Can someone help with number 1? I got some of it but I dont know what to do next! Jose swims 3 laps in a pool every 2 minutes. How long would it take him to swim 27 laps?A.8B.9O c.16oD.18 Why don't Americans get much information on the news about what is happening in other countries, unless it's a tragedy; yet everyone else in the world gets news updates about America constantly ? What is the value of x? hello could you please help me with this math problem with full explanation which I am unable to solve? Thank you. PLZ ANSWER!!! IF YOU ANSWER U GET 20 POINTSFind |-65|.065-65 Floyd tells his daughter Glenda that she can have his Harley Davidson when he dies, but he does not add this to his will, and he is not on his deathbed. This is Which profession do you prefer ro choose for your career?Engineer or Architect? Why? Three children are riding on the edge of a merry-go-round that is a solid disk with a mass of 102 kg and a radius of 1.53 m. The merry-go-round is initially spinning at 9.71 revolutions/minute. The children have masses of 31.7 kg, 29.0 kg and 31.9 kg. If the child who has a mass of 29.0 kg moves to the center of the merry-go-round, what is the new angular velocity in revolutions/minute What is the three hundred and twenty six to the nearest ten Write your answer as a polynomial or a rational function in simplest form Point C is on the midpoint of a section of highway, represented by AB. If AB = 32 miles,AC = 4x miles, and CB = 12 + x miles, explain three different waysthatyoucouldsolve for x. A broker followed the instructions in an escrow disbursement order. However, one of the parties to the contract sued the broker and a judgment was filed against the broker that resulted in $8,000 in money damages plus $3,500 in court costs. The broker incurred $4,500 in attorney's fees associated with his defense. The FREC is authorized to disburse what amount associated with this case Please answer this and show the work/explain.2/7m - 1/7 = 3/14