Write a program which asks the user for their name and age. The program should then print a sentence.

What is your name?
Cory
What is your age?
48
Cory is 48 years old.

Answers

Answer 1

Answer:

name = input("What is your name? ")

age = int(input("What is your age? "))

print("%s is %d years old."% (name, age))

Explanation:

This is a solution in python.


Related Questions

What sequence is used to create a brochure document from a template?
New, File, Brochures
File, New, Brochures
O Brochures, File, New
O Brochures, New, File

Answers

Answer:

I think its a or b

Explanation:

Sorry if I'm wrong

Answer:

The answer is B. File, New, Brochures

Explanation:

PLZ PLZ PLZ GIVE ME BRAINLIEST!!!!

A restaurant buys a pizza oven that is 4.5 feet long, 5 feet wide and 6 feet tall. What is the volume of the pizza oven?

Answers

Answer:

135 as 4.5 times 5 times 6 gives you the volume and it =135

NO THIS ISNT ANY HOMEWORK!

Does anyone know a laptop under $200 that can run Minecraft Java edition and maybe 60fps?


PLEASE NAME A SPECIFIC ONE not to be rude but please don’t waste my time!



Sorry if I’m asking for too much we’re gonna travel soon and it’s gonna be for long months and I can’t bring my entire set up but I also don’t have much money and I can’t find any laptop like that so if you can help? Thank you!

Answers

Answer:

Name CPU, GPU & RAM My Rating (Out of 10)

HP Pavilion 15 Intel Core i7-8565U Nvidia MX 250 16GB 8.1

Asus VivoBook S15 Intel Core i5-8265U Nvidia MX250 8GB 7.8

Dell Inspiron 15 Intel Core i5-8250U Intel HD Graphics 16GB 7.6

Acer Aspire 5 Intel Core i5-8265U Nvidia MX250 8GB 7.5

Explanation:

I dont know the prices, I just searched it, though I will look into it more

Answer:

dont know the price but my mom bought me a macbook pro 13 inch and it works great !

Explanation:

edit: oop lol its like 1200 dollars

write asswmbly prgram and do the following:
You have two numbers, the first one is 32 bits and the second is a 16 bits number. Find the result of division and store it in memory location called RESULT then store the reminder of division in memory location called MOD. (Use MACRO) ​

Answers

Answer:

I did this last year :/ i feel your pain.

Explanation:

What are the disadvantages of using folders ​

Answers

Answer:

√ folders can cause some inconvenience situation...

√ The decompress / compress action takes time.

√ When you double-click on a file inside a “folder”, what really happens is the file gets extracted to a temporary folder.

heres one:

when you delete a folder, he stuff inside gets deleted, and there isnt a way to get it back.

3.5 code practice question 1

Answers

Answer:

what is this a question or just saying something?

Explanation:

Answer:

uh what?

Explanation:

// The QuickCopy company currently makes 100,000 copies per year// at 15 cents each.// They expect to increase the number of copies produced// by 4 percent per year each year for the next 10 years,// starting with this year.// They also expect the price of each copy to increase// by 3 cents per year, starting with this year.// This program displays the company's expected// income for each of the next 10 years.// Modify it to be more efficient.startDeclarationsnum year = 1num copies = 100000num price = 0.15num total = 0num COPIES_INCREASE = 0.04num PRICE_INCREASE = 0.03copies = copies + copies * COPIES_INCREASEprice = price + price * PRICE_INCREASEtotal = total + copies * priceoutput year, totalyear = year + 1copies = copies + copies * COPIES_INCREASEprice = price + price * PRICE_INCREASEtotal = total + copies * priceoutput year, totalyear = year + 1copies = copies + copies * COPIES_INCREASEprice = price + price * PRICE_INCREASEtotal = total + copies * priceoutput year, totalyear = year + 1copies = copies + copies * COPIES_INCREASEprice = price + price * PRICE_INCREASEtotal = total + copies * priceoutput year, totalyear = year + 1copies = copies + copies * COPIES_INCREASEprice = price + price * PRICE_INCREASEtotal = total + copies * priceoutput year, totalyear = year + 1copies = copies + copies * COPIES_INCREASEprice = price + price * PRICE_INCREASEtotal = total + copies * priceoutput year, totalyear = year + 1copies = copies + copies * COPIES_INCREASEprice = price + price * PRICE_INCREASEtotal = total + copies * priceoutput year, totalyear = year + 1copies = copies + copies * COPIES_INCREASEprice = price + price * PRICE_INCREASEtotal = total + copies * priceoutput year, totalyear = year + 1copies = copies + copies * COPIES_INCREASEprice = price + price * PRICE_INCREASEtotal = total + copies * priceoutput year, totalyear = year + 1copies = copies + copies * COPIES_INCREASEprice = price + price * PRICE_INCREASEtotal = total + copies * priceoutput year, totalstop

Answers

Answer:

See Explanation

Explanation:

Required

Modify the program

To modify the program, we simply make use of an iterative statement.

To do this, I'll make use of a do while loop.

So, we have:

Declarations

num year = 1

num copies = 100000

num price = 0.15

num total = 0

num COPIES_INCREASE = 0.04

num PRICE_INCREASE = 0.03

do:

copies = copies + copies * COPIES_INCREASE

price = price + price * PRICE_INCREASE

total = total + copies * price

output year, total

year = year + 1

while year<=10

The above do while loop enables the program to repeat the statements in the following block:

do:

----

---------

---

-

while year <=10

The loop calculates the copies & price in each year and also updates the values of the variables; so that they can be used for the nexr iteration

You are asked to design a data model for The Wagging Tail, an online store that sells products for dogs, e.g. dog collars, dog food, dog toys, dog treats, etc. You want to keep track of three entities: (1) the products that the store sells, (2) customers who purchase the products, and (3) the orders that are made on the website.
Draw an ERD diagram and use the following information to help guide your drawing:
The database should keep track of all products that the store offers for sale
The database should keep track of all customers who have registered with the store website
The database should keep track of all orders placed on the website
At most only a single customer can be related to any single order
A customer can place multiple orders with the website Each entity must have a unique identifier within its table. This is the Entity's/table's Primary Key.
An order must consist of at least one product, and may consist of multiple products
You wish to keep track of the cost of the product to the store, and the price that the store sells a product to the customer
You wish to be able to contact customers via phone and email
You wish to be able to determine when is the busiest time of year for your website according to number of orders placed
Your drawing should include the following: 1. The entities you wish to model 2. The required/important attributes for each entity (refer to these instructions for guidance on what is required/important) 3. The relationships between the entities 4. The correct MAX and MIN Cardinalities for each relationship (remember for each relationship, or line, there are MAX/MIN cardinalities on each side of the relationship)

Answers

Answer:

The solution to this question can be defined as follows:

Explanation:

In this question the Primary Key as defined in the underlines that use the Crow's foot notation which is defined in the 3 entities that can be defined in the attachment file:

Create a list called numbers containing the values from 1 through 15, then use slices to perform the following operations consecutively: a. Select number’s even integers. b. Replace the elements at indices 5 through 9 with 0s, then show the resulting list. c. Keep only the first five elements, then show the resulting list. d. Delete all the remaining elements by assigning to a slice. Show the resulting list.

Answers

Answer:

Kindly check explanation

Explanation:

From python :

List containing values from 1 through 15:

my_list = list(range(1,16))

#creates a list of values from 1 to 15,(16 is excluded)

B.) select even integers :

for digits in my_list :

if digit%2 == 0;

print(digit)

# prints numbers in the list which does not leave a remainder when divided by .

C.)

for digits in my_list[4,9]:

my_digit[digits] = 0

my_digits

#Replaces the elements at indices 5 through 9 with 0s, then show the resulting list.

D.)

my_digits[:5]

#selects digits with index 0 up to 4

E.)

del my_digits[:5]

#DELETE elements in my digits starting from the fifth index

4.16 LAB: Count characters Write a program whose input is a character and a string, and whose output indicates the number of times the character appears in the string. The output should include the input character and use the plural form, n's, if the number of times the characters appears is not exactly 1. Ex: If the input is: n Monday the output is: 1 n Ex: If the input is: z Today is Monday the output is: 0 z's Ex: If the input is: n It's a sunny day the output is: 2 n's Case matters. Ex: If the input is: n Nobody the output is: 0 n's

Answers

Answer:

In Python:

sttr = input("String: ")

ch = input("Character: ")

count = sttr.count(ch)

print(str(count)+" "+ch, end = '')

if count>1 or count==0:

   print("'s")

Explanation:

This prompts the user for string

sttr = input("String: ")

This prompts the user for character

ch = input("Character: ")

This counts the number of occurrence

count = sttr.count(ch)

This prints the number of occurrence of the character

print(str(count)+" "+ch, end = '')

This checks if the number of occurrence is 0 or greater than 1.

if count>1 or count==0:

If yes, it prints 's

   print("'s")

Assume that the execution time for a program is directly proportional to instruction access time. The access to an instruction in the cache is 10 times faster than access to an instruction in the main memory. If an instruction is not found in the cache, i.e., cache miss, it is fetched from the main memory to the cache and then fetched from the cache to be executed. Assume that a requested instruction will cause cache miss has a probability of 0.08. Let the speedup factor is defined as the ratio of program execution time without the cache to program execution time with the cache.
a. Calculate the speedup factor to execute such a program.
b. using this assumption, assuming that the cache is 20 times faster than the main memory.

Answers

Answer:

a. 5.81

B. 7.93

Explanation:

A.

X is the time it takes to load instructions from cache

10X = time to execute program

0.08 = probability of cache instructions

1-0.08 = 0.92(92% instructions are going to be loaded from cache).

Tc = time to execute with cache

Tc = 0.92X+0.08x10X

= 0.92X+0.8X

= 1.72X

Speed factor = tm/tc

= 10X/1.72X

= 5.81

B.

If cache is 20 times faster

Tm = 20X

Tc = 0.92X + 0.08 x 20X

= 0.92X + 1.6X

= 2.52X

Speed factor = 20X/2.52X

= 7.93


is an electronics standard that allows different kinds of electronic instruments to
communicate with each other and with computers.

Answers

Explanation:

MIDI is an acronym that stands for Musical Instrument Digital Interface. It is a standard protocol that helps to connects musical instruments with computers and several hardware devices to communicate. It was invented in the 80's as a way to standardize digital music hardwares.

IF IT HELPED U MARK ME AS A BRAIN LIST

Can someone help me please

Answers

Answer:

She made a profit of 450$

Explanation:

why use a chart legend?

Answers

Answer:

A legend or key helps the user build the necessary associations to make sense of the chart.

Explanation:

Legends summarize the distinguishing visual properties such as colors or texture used in the visualization.

What Is an Antivirus?

Answers

Antivirus software, or anti-virus software, also known as anti-malware, is a computer program used to prevent, detect, and remove malware. Antivirus software was originally developed to detect and remove computer viruses, hence the name.

Answer:

Antivirus software is a type of program designed and developed to protect computers from malware like viruses, computer worms, spyware, botnets, rootkits, keyloggers and such. Antivirus programs function to scan, detect and remove viruses from your computer.

Explanation:

Write a function named find_median that takes as a parameter a list of numbers. The function should return the median of those numbers, which will require it to sort the list. If you're not familiar with calculating the median, please look that up. Remember that the calculation is different for odd and even groups of values. For example, it could be used like this: some_nums

Answers

Quién es de Chicken #chequen Castro reverente de meados

The middle value in a data collection is returned by the median function in Microsoft Excel, which measures central tendency.

What is the main role of median function?

The number in the middle, with the same number below and above it, when there are an odd number of integers, is the median value.

The quantity of numbers in the data set affects the median result. The median is the value located in the center of the sorted dataset for an odd collection of numbers.

Excel's statistical functions include the MEDIAN Function. The middle value of the given collection of numbers will be determined by the function. The middle number in a collection of numbers is known as the median.

Therefore, If the list contains an even number of integers, the middle pair must be found, added, then divided by two to produce the median value.

Learn more about Median Function here:

https://brainly.com/question/16892747

#SPJ2

Describing Lawyer Tasks
According to the video, which tasks do Lawyers commonly perform? Check all that apply.
O drawing up legal documents
guarding prisoners
O inspecting facilities for safety
trying cases in courts of law
O arresting criminals
counseling clients

Answers

Answer:

Explanation:

The answers are a, d, and f

Answer:

A, D ,F G

Explanation:

Other Questions
A one-question survey is to be distributed to a random sample of 1500 adults in Ohio. The question asks if they support an increase in the state sales tax from 5% to 6%, with the additional revenue going to education. Let p-hat denote the proportion of adults in the sample who say they support the increase. Suppose that 40% of all adults in Ohio support the increase. What is the probability that p-hat will be more than 50% Why should students care about issues in their community (CIVICS) (BUT PLEASE HELP WRITE A DETAILED ANSWER) Does the spoils system still exist today? Explain. I'm not an expert on poetry and and im kinda confused on this one. ill brainlist/5 star u! Just those 3 questions and Im finally done, lets see who cares to help.Two roads diverged in a yellow woods, And sorry i could not travel both And be one traveller, long i stood And looked down one as as far as i could To where it bent in the undergrowth.1) any appeal to the senses? Which words do so? How?2) identify the techniques in each stanza. 3) discuss how each technique works. What effect does it bring to the poem? How does it affect the reader? PLEASE HELP!!! i will give brainly Solve and show your work: |4x 1| = 13 PLEASE HELP ME The average length of the dragon used in the performance is 12 feet. The dragon is divided into 9 sections. How long is each sections An economic system in which property is publicly owned: each memberof a classless society works and is paid according to his or her needs andabilities-communismliberalismconservatismrepublicize how do i come out to my mum what is the definition of yin yoga? Reptiles are well adapted to life on land. What is the function of many of their adaptations to life on land? **PLEASE HELP** If you were presented with a preserved brain specimen, but werent told whether it was from a human or a sheep, how would you determine which animal it was from? Describe at least three differences you would use to help determine your answer. the algebraic expression for 24a+27 please help me asap!!! Analyze the map below and answer the question that follows.A climate and ecosystem map of Africa with arrows labeled A, B, C, and D. Climates are shaded different colors. A points to just below the Sahara. B points to a region in the middle of Africa. C points to South Africa. D points to an area near Egypt.Where is the Sahel located on the map above?A.region AB.region BC.region CD.region D Can someone plz help me??? cules son las fases de la comunicacin? 20 POINTS / I need this ASAP Solve the Problem The hypotenuse of a right triangle measures 20 cm and one of itslegs measures 10 cm. Find the measure of the other leg. Ifnecessary, round to the nearest tenth. After Jesus' resurrection, why did He say to Mary, "Touch Me not?"