import math as m
def print_word(N, W, retries = 4):
for _ in retries:
if(N > 100 or N < 0 or len(W) > 50):
print("Number is out of range or word is too large. Try again.")
new_word = str(input("New word: "))
new_num = int(input("New number: "))
if(new_num >= 0 and new_num <= 100 and len(W) <= 50):
for row in new_num:
print(new_word)
return "Thank you for your time!"
if(N >= 0 and N <= 100 and len(W) <= 50):
for row in N:
print(W)
return "Thank you for your time!"
try:
N = m.floor(int(input("Enter a number from 0 to 100: " )))
W = str(input("Enter a word: "))
except ValueError:
print("Invalid Input!")
print(print_word(N,W))
Following are the python program to print the input string value:
Program:N= int(input("Enter a value of integer N (0 <= N <= 100): "))#defining an integer variable N that inputs integer value from the user-end
W = input("Enter the word W (length of 1 <= L <= 50): ")#defining a string variable W that inputs the value fom the user-end
for n in range(N):#defining a for loop that uses the range method with integer variable and prints the string value
print(W)#printing the string value
Program Explanation:
Defining the an integer variable "N" that inputs an integer value from the user-end.In the next step, another variable "W" is declared that inputs the string value from the user-end.After input all the value a for loop is declared that uses the range method with integer variable and prints the string value.Output:
Please find the attached file.
Fin out more information about the program here:
brainly.com/question/24604692
you cannot create a folder within a folder true or false
the answer is false :))
correct me if I'm wrong
Answer:
true
Explanation:
Write a program that asks the user for his or her name, then asks the user to enter a sentence that describes himself or herself. The program should ask for a destination file to save as the last question.
Answer:
there was a type of user name and sentences
When running the following code:
true = 5
false = 6
print (true + false)
-
The interpreter will:
Answer:
print(11)
Explanation:
true + false = print statement
5 + 6 = 11
To permit communication between two people who do not speak the same language, interpreters accurately and objectively translate spoken or sign languages into other languages.
What is role of print statements in interpreter?It is the interpreter's responsibility to use these code objects and carry out the directives. You might be astonished to learn that compilation even occurs during the execution of Python code.
As contrast to “compiled” languages like C or Rust, Python is frequently referred to as a “interpreted” language like Ruby or Perl.
A trained expert who facilitates communication between those who speak or sign in various languages is known as an interpretation.
The print() function outputs the message to the normal output device, such as the screen. The message can be a string or any other object, and before it is displayed on the screen, the object will be changed into a string.
Therefore, true + false = print statement 5 + 6 = 11
Learn more about print statements here:
https://brainly.com/question/24200615
#SPJ2
How can you create a messages to look like an IMessage?
Answer:
An article about the company in a city newspaper are consumers most like to trust.
Explanation:
Project planning output is :
A. Top-down planning
B. Bottom up planning
C. Waterfall planning
D. Iterative planning
Answer:
A
Explanation:
The main output of Project palnning is project plan.
Write a python program to calculate and print the electric bill for Ethiopian Electricity Corporation. (consumer name meter number(mno),last month reading(Imr)and current month reading(cmr) of 50 customers and calculate the net bill amounts as follows: Number of unit(Nou)=cmr-lmr If Nou200 then bill =Nou*2 tax=bill*0.15 netbill=bill+tax Print all the details in the bill for all customers
The electric bill program illustrates the use of loops (i.e. iteration)
Loops are used to execute repetitive operations
The electric bill program in Python where comments are used to explain each line is as follows:
#This iteration shows that the process is repeated for 50 consumers
for i in range(50):
#This gets input for the consumer name meter number
mno = input("Consumer name meter number: ")
#This gets input for last month reading
lmr = int(input("Last month reading: "))
#This gets input for current month reading
cmr = int(input("Current month reading: "))
#This calculates the number of units
Nou = cmr - lmr
#This calculates the bills
bill = Nou*2
#This calculates the tax
tax = bill*0.15
#This calculates the netbills
netbill = bill+tax
#This next four lines print the electric bills
print("Number of units:",Nou)
print("Bills:",bill)
print("Tax:",tax)
print("Netbill:",netbill)
Read more about loops at:
https://brainly.com/question/19344465
Briefly the conceptual model of effective computer based instruction for adults outlining three units (output, Process and input )
What is information technology in relation to computers
Answer:
Information technology (IT) is the use of any computers, storage, networking and other physical devices, infrastructure and processes to create, process, store, secure and exchange all forms of electronic data. ... The commercial use of IT encompasses both computer technology and telecommunications.
Answer:
Information technology (IT) is the use of any computers, storage, networking and other physical devices, infrastructure and processes to create, process, store, secure and exchange all forms of electronic data.
Explanation:
Hope this helps
I ate five M&Ms: red, green, green, red and yellow. Only these three colors are possible. I assume that p(yellow)=3p(green)
What is the estimated probability of green color?
Answer:
Below is code written in a free CAS (WxMaxima):
The above code creates the probability of 19 or more brown in the sample of 48 for population sizes from 5*19 to 10000 in steps of 5.
Here’s a plot of that data:
The horizontal blue line is the probability for an infinite population size (or, choosing each of the 48 M&Ms with replacement, which I infer is not what you meant). It is calculated using the binomial cdf:
The red curve approaches the blue line asymptotically as the population gets larger.
At population 10000, the red curve is
.
What does this Python expression evaluate to?
100 != 100
True
False
“True”
“False”
Answer: False
Explanation:
True or False. The 'C' programming language guarantees that R0 will always contain a zero value on the ATmega328P
Which bits of the address would be used in the tag, index and offset in a two-way set associative cache with 1-word blocks and a total capacity of 512 words
What is the trickle down approach to poverty?
Answer:
Tax breaks and benefits for corporations and the wealthy will trickle down to everyone else as stated by the Trickle-down Economics/Trickle-down Theory.
Explanation:
The Trickle-down Economics argues for income and capital gains tax breaks or other financial benefits to large businesses, investors, and entrepreneurs to stimulate economic growth.
Corporation-a legal entity that's separate and distinct from its owners.
What term would be a catch-all that would cover both visual novels and text adventures?
virtual reality games
interactive fiction
simulation
puzzle
I think the answer to this is interactive fiction
What is the difference between * and **operator? in python
Answer: "**" is used for power off while "*" is used for multiplication
Explanation: you just have to memorize it
In python language the "**" operator is used for 'power of" and "*" is used for multiplication.
To alter the value of operands in Python, utilise the operators constructs. These are the figurative representations of logical, mathematical, and other operations.
Consider the equation 4 + 5 = 9. The operator in this instance is +, and the operands are 4 and 5. We'll examine numerous Python operators in this session.
The following operator categories are supported by the Python language.
Comparison (Relational) Operators for ArithmeticOperators of assignmentsIntelligent OperatorsOperators in bitsOwners of membershipsIndividual OperatorsLet's quickly review each of these operators in turn.In python language the "**" operator is used for 'power of" and "*" is used for multiplication.
Therefore, in python language the "**" operator is used for 'power of" and "*" is used for multiplication.
Learn more about the python language here:
https://brainly.com/question/11288191.
#SPJ3
Making data secure means keeping it secret
Answer:
Data security refers to the process of protecting data from unauthorized access and data corruption throughout its lifecycle. Data security includes data encryption, hashing, tokenization, and key management practices that protect data across all applications and platforms.
why the computer is known as versatile and diligent device ? explain.
Answer:
Computer is called versatile and diligent device because it is used in almost all the fields for various purposes and it can perform the task repeatedly without loosing its speed and accuracy for long time.
Which source would provide the best way to find valid information about climate change
The primary source would provide the best way to find valid information about climate change.
What is Climate change?Climate change may be defined as the change in the average conditions such as temperature and rainfall in a region over a long period of time. In more simple words, climate change refers to the long-term shifts in temperatures and weather patterns.
The burning of fossil fuels like coal, oil, and gas for electricity, heat, and transportation is the primary source of human-generated emissions. A second major source is a deforestation, which releases sequestered (or stored) carbon into the air.
Both of these sources are significantly responsible for the causation of climate change in the specific region over a long period of time.
Therefore, the primary source would provide the best way to find valid information about climate change.
To learn more about Climate change, refer to the link:
https://brainly.com/question/24793273
#SPJ2
Can someone help me do this who ever does it first get 100 points :)
Answer:
Wired: Means a cable or a wire connected thats the opposite of wireless.
Wireless is bascially a device with no cable needed.
3G: GB
4G: GB
5G: GB
Explanation:
Wired: Means a cable or a wire connected thats the opposite of wireless.
Wireless is bascially a device with no cable needed.
3G: GB
4G: GB
5G: GB
Write a class definition line and a one line docstring for the class Dog. Write an __init__ method for the class Dog that gives each dog its own name and breed. Test this on a successful creation of a Dog object. >>> import dog >>> sugar
I need help with This excel chart. I don't know how to divide all the rows and columns.
In column F, enter formulas that use a function to calculate % Caught with Table (fish caught with Table hook divided by the total number of fish caught).
Format the % Caught with Table values as a percent with one decimal place.
Answer:
sorry I don't know how to do this.Very very sorry.How have you seen technology transform in your own life? What was the oldest computer or device you remember using? How does this compare to the machines you use today? What was your favorite piece of tech that is no longer popular or in common use? What are some modern benefits you're grateful for? Share your own "history of computing" with your fellow learners!
I am greatly opportuned to live in a time an era where technology is prevalent and constantly evolving, I have also experience technological changes in my life in the areas of learning because I browse about questions a lot.
What was the oldest computer or device you remember using?
I can remember using a Nokia 3310 but now I use an iPhone 11 pro max
How does this compare to the machines you use today?
The difference in the Nokia 3310 mobile and my current iPhone 11 pro max goes a long way to describe the evolutionary changes in technology, my iPhone 11 pro max is a smart phone with a lot of feature not present in my old Nokia 3310.
What was your favorite piece of tech that is no longer popular or in common use?
My favourite piece of tech no longer in use today is the typewriter, I like it because of the sound from the key when I am typing, it is more like typing and have fun at the same time.
What are some modern benefits you're grateful for?
I am most grateful for the Internet because it is a repository for knowledge, I learn and collaborate everyday using the Internet.
Learn more how the history of computer:
https://brainly.com/question/485705
A certain microprocessor requires either 2, 4, 8, 12, or 16 machine cycles to perform various operations. Seventeen and one-half (17.5) percent of its instructions require 2 machine cycles, 12.5% require 4 machine cycles, 35% require 8 machine cycles, 20% require 12 machine cycles, and 15% require 16 machine cycles. What is the average number of machine cycles per instruction for this microprocessor
Simple question: what is bandwidth?
Answer:
It is the amount of data that can be transmitted in a set period of time, that is the rate of data supported by the network connection.
In simple definition, it can be said to be the data transfer capacity of a computer network in bits per second (bps).
Explanation:
Which type of game requires you to read people’s expressions to anticipate their moves?
chess-type games
dice games
board games
Poker-type games
Answer:
Chess-type games
Explanation:
Answer:
Explanation:
chess-type games
What is one problem caused by spending too much time studying at your computer? A. It increases stress and negatively affects your sleep. B. It causes you to forget other projects that need work. C. It makes it more difficult to organize your time. D. It is not an effective use of your study time.
Answer:
A - It increases stress and negatively affects your sleep.
Hope that helps. x
Answer:
The answer is A
Explanation:
(50 POINTS)
Write a repl program that does the following....
Asks the user to input their score for their science test (out of 100),
If the score is less than or equal to 50, print ("You failed, I think you need to study more"),
Elif the score is greater than 50, print ("You passed, well done!").
Else print, you have not selected the right number
Note that this does not need to be in a loop.
Answer:
nope ;v
Explanation:
business cards can be send to other outlook users as email attachments or........
Answer:
Hey man, here is the answerExplanation:
The easiest route is Forwarding the existing conversation to another person. The previous thread will be quoted in the new message.
The method in the question appears to be for preserving the top-down reading structure of the existing thread, of which there is no way I'm aware of. Often times, the aforementioned method of simply forwarding an email is enough to impart some context to the person.
Alternatively, one might view the entire thread, and create a PDF of it (possible from the Print dialog box on a Mac, or to save as a PDF in the File/Edit menus in certain windows applications), which they could then send in an email.
5. What is intellectual property? (1 point)
Brainliest if correct
Answer:
intangible property that is the result of creativity, such as patents, copyrights, etc.
Please mark as brainliest
Answer:
A creative work of an invention, designs or names and images used in commerce.
Capstone Project part 11 quiz
What is the following code snippet checking? (1 point)
while response != "yes":
Othat response variable is not yet yes
O that response variable is yes
O if "yes" is indexed in an array for the variable "response"
O if the response variable is "no"
If you give all answers you will have an amazing Christmas!