Can u write a python program with this output

Can U Write A Python Program With This Output

Answers

Answer 1

Answer:

Not exact, but it will help.

Explanation:

do something like this.

       print("""

       this program will help you plan your garden.

       First, we need some information about the dimensions you want.

       """)

       while True:

           try:

               response = int(input("Please enter the side length for your garden (in feet) : "))

           except ValueError:

               print("(!)Please Enter A Number(!)")

               print("")

               continue

           if str(response) == "":

               continue

           else

               length = int(response)

               break

repeat stuff like that up above for the rest, and then you can decide what to do with the variables and how they need to be multiplied for the output. Good luck!

                       


Related Questions

What can hack or code can I use to get a shadow or frost dragon in adopt me

Answers

There aren’t any codes that could be used to redeem a Shadow Dragon or a Frost Dragon. Even if you’re desperate, do not hack the game as it would get you a permanent ban from the game forever. Try trading up to your dream pet instead of cheating to achieve it!

A network is the binary instructions that a computer uses.
O False
O True

Answers

Answer:

False

I hope this helps. Cheers! ^^

Which emails go to the draft folder

Answers

Answer:

Hi there, the only emails that go to the draft folder are the emails that you start to write and then you don't finish it so you can go back and finish writing it later.

Explanation:

Hope this helps!! Please consider marking brainliest! Have a good one!!

Answer:

An email that you haven't sent yet or that is unfinished.

Explanation:

You can send an email to the draft folder by just exiting the tab before you hit send which then places the email message into the drafts folder.

Question 5 (frue/False Worth 3 points)
(01.03 LC)
Logical errors mean the program ran, but the results were not as expected.
O True
O False

Answers

true

Explanation:

because logical errors are made to be unexpected it was before

Breaking difficult problems down into smaller more manageable pieces is an example of

Answers

Answer:

Divide and Conquer

Explanation:

A positive integer is called a perfect number if it is equal to the sum of all of its positive divisors, excluding itself. For example, 6 is the first perfect number because 6 = 3 + 2 + 1. The next is 28 = 14 + 7 + 4 + 2 + 1. There are four perfect numbers less than 10,000. Write a program to find all these four numbers.

Answers

i = 1

while i < 10001:

   total = 0

   x = 1

   while x < i:

       if i % x == 0:

           total += x

       x+=1

   if total == i:

       print(str(i)+" is a perfect number")

   i += 1

When you run this code, you'll see that 6, 28, 496, and 8128 are all perfect numbers.

JAVA
Use a for loop to print the even numbers between 1 and 50, including the first even number, and the number 50. Print each number on a new line.

Answers

public class JavaApplication65 {

   

   public static void main(String[] args) {

       for (int i = 1; i <= 50; i++){

           if (i % 2 == 0){

               System.out.println(i);

           }

       }

   }

   

}

I hope this helps!

What is "fake news"? Why do officials want students to learn to recognize it? How do officials plan to help students do this?

Answers

Fakes news is any type of news that is false or incorrect. Officials are trying to teach students about fake news because fake news is everywhere. It is influencing what students do. When they see something on social media they might share it, and it will spread. It even may show them something violent or inappropriate. Officials are doing multiple things to help students, such as seminars in school, assemblies in school, etc.

I need help with question 2

Answers

The missing word is range.

The range function creates a list of numbers from x to y-1, where x is the leftmost number and y is the rightmost.

For instance,

range(1, 6) would be the numbers 1, 2, 3, 4, 5

which new console should i buy Nintendo switch Xbox series x or a ps5

Answers

Answer:

you should buy the xbox series x, it has better quality and xbox is just better in general

Explanation:

Answer:

get the PS5 it showed off the gameplay and unreal engine 5 that I saw has better graphics.

meanwhile the new Xbox has shown one gameplay is halo but the graphics are not good . but I don't know how the new xbox 12tfop can't past the PS5 10.2 t fop

Soo 10.2 t fop is better than 12tfop.

I have a small business with only two computers. These computers are connected directly together and share resources. What type of network is established between these computers?
Extranet
Peer-to-Point
Internet
Peer-to-Peer

Answers

Answer:

Peer to peer

Explanation:

In its simplest form, a peer-to-peer (P2P) network is created when two or more PCs are connected and share resources without going through a separate server computer. A P2P network can be an ad hoc connection—a couple of computers connected via a Universal Serial Bus to transfer files.

Discuss how file and process ownership can pose a threat to the security of a computer system.

Answers

File and Process ownership can pose a threat to the security of a computer system by making changes to the system files.

File and Process ownership refers to the sole ownership and administration-like privileges of a user to a file and process in a computer system which gives access to be able to modify some things that could adversely affect the computer system.

Conversely, when an unauthorized user makes use of this to make changes, it can lead to:

Loss of personal dataMisuse of administrator privilege Hackings

Therefore, the threat this can pose to the security of a computer system is enormous and safeguards should be put in place to ensure such lapses never occur.

Read more here:

https://brainly.com/question/17063426

Write code which takes a user input of a String and an integer. The code should print each letter of the String the number of times the user inputted in reverse order.

Sample run:

Input a String:
code
Input an integer:
3
eeedddoooccc


Note: Write In Java
Thank You...

Answers

import java.util.Scanner;

public class JavaApplication70 {

   public static void main(String[] args) {

       Scanner scan = new Scanner(System.in);

       System.out.println("Input a String:");

       String txt = scan.nextLine();

       System.out.println("Input an integer:");

       int num = scan.nextInt();

       String newTxt = "";

       int w = 0;

       for (int i = txt.length()-1; i >= 0; i--){

           char c = txt.charAt(i);

           while (w < num){

               newTxt += c;

               w++;

           }

           w = 0;

       }

       System.out.println(newTxt);

   }

   

}

I hope this helps!

Following are the java program to input string:

Program Explanation:

Import package. Defining a class Main. Inside the class, the main method is defined. Inside the main method two String variable "val, next", and three integer variable "n,x, j" is defined. In the next step, a scanner class object is declared that inputs string and integer variable value. After input value a loop is defined that holds a sting value and define a while loop that seprate the value and calculate its value and print its value.    

Program:

import java.util.*;//import package

public class Main //defining a class Main

{

  public static void main(String[] ar)//defining a main method  

  {

      String val,next="";//defining a String variable

      int n,x=0,j;//defining an integer variable

      Scanner bd = new Scanner(System.in);//defining a Scanner class object to input value

      System.out.println("Input a String:");//print message

       val= bd.nextLine();//input String value  

      System.out.println("Input an integer:");//print message

      n = bd.nextInt();//input integer value

      for (j = val.length()-1; j >= 0; j--)//defining a for loop that calculate a value

      {

          char c = val.charAt(j);//defining a char variable that holds character value of string

          while (x < n)//defining loop for compare value

          {

              next += c;//incrementing the character value  

              x++;//incrementing integer value

          }

          x = 0;

      }

      System.out.println(next);//print value

  }

}

Output:

Please find the attached file.

Learn more:

brainly.com/question/18844825

Alex and Eva play football at the same local football pitches. Alex plays every 4
days and Eva plays every 6 days. They both played football today. After a
fortnight, how many times will they have played football on the same day?*​

Answers

12 days

Alex can only play with eva 4 days. A fortnight is 2 weeks and you can't go over

IN JAVA
Using a for loop, write a program that prompts the user to input a positive integer. It should then print the multiplication table of that number.

Enter a positive integer: 5


Example output:

0 0 0 0 0 0 0 0 0 0 0

0 1 2 3 4 5 6 7 8 9 10

0 2 4 6 8 10 12 14 16 18 20

0 3 6 9 12 15 18 21 24 27 30

0 4 8 12 16 20 24 28 32 36 40

0 5 10 15 20 25 30 35 40 45 50

Answers

import java.util.Scanner;

public class JavaApplication67 {

   

   public static void main(String[] args) {

       Scanner scan = new Scanner(System.in);

       System.out.print("Enter a positive integer: ");

       int num = scan.nextInt();

       while (num < 0){

           System.out.println("Please only enter positive numbers!");

           num = scan.nextInt();

       }

       

       for (int i = 0; i <= 10; i++){

           System.out.println(num*i);

       }

       

   }

   

}

This displays the given integer's multiplication table up to 10.

hey guys just dropped some hot beats so go and follow me my user is the beats and comment if you would do that that would be grate

Answers

yes i will check it o it

What type of error occurred?

20 / 0


SyntaxError

ValueError

TypeError

ZeroDivisionError

Answers

Answer:

"Option 4: ZeroDivisionError" is the correct answer

Explanation:

When we try to divide any number by zero in mathematics, the answer is infinity. Similarly, if we try to divide a number by zero in Python, the Python interpreter throws a "ZeroDivisionError" as the denominator or divisor cannot be a zero.

Hence,

"Option 4: ZeroDivisionError" is the correct answer

Answer: ZeroDivisionError

Explanation: got it right on edgen

A school has an intranet for the staff and students to use. Some of the files stored on the intranet are confidential. Give two reasons why a school may have an intranet.

Answers

Answer:

explanation below

Explanation:

An intranet could be defined as a computer network that is used for sharing information, operational systems, collaboration tools and other computing tasks within a company or organization such as schools. It is usually structured to exclude excess by those outside of the organization.  

Intranet provides a lot of benefits to organization where it is been used and they are as seen below :

1. Users can effectively update and view their documents with ease – scheduling meetings, managing of classroom curriculum and preparing of projects can be done with less stress.

2. It can be used to keep accurate staff records – employees can have their details rightly stored using the intranet and a photograph can also be used.  

Which of these is NOT an example of a transition?
Crash Cymbal
Riser
Melody Consistency
Track Dropouts

Answers

Answer:

It's Riser

Explanation:

Which of the following was not something colonial children had to do? WILL GIVE BRANLEST ///////////////////////////////////////////////////////////////////////////////////////////////////

Have their parents permission whenever they went outside.
Never argue with their siblings.
Never eat in the presence of adults.
Bow when they approached their parents.

Answers

Answer:

i beleive it is bow when they approach their parents

Match each statement from the passage with the message it represents.
People can trustthatthere
are no has de efects
from the ingredients in
bear food
People need to submit a
pettion to the government
asking for more research
about acklitives they are
concerned about
It is important to ake the
time to learn the chemical
makeup ofloods before
eating them
The presence ofchemicals
in additves should not
be a cause for concern.
Passage Statement
Author's Message
Today, food and color
additives are more strictly
studied, regulated, and
monitored than at any
other time in history
In fact, every food we eat
is made up of chemical
compounds that determine
flavor, color, texture,
and nutrient value.

Answers

Answer:

Here is the answer:

The matchup of the people in regards to trust is given in the image check more about the word trust below.

What makes a person trust in others?

Trust is a virtue that is not gotten by everyone. People are said to be very likely to trust another person if they are said to believe that the action a person does match up with their values and principles.

Conclusively, note that the idea of trust often deals with one's integrity in terms of our actions and behavior and as such people submit to those they fell they can trust.

Learn more about trust from

https://brainly.com/question/6983872

MICROSOFT WORD PLZ ANSWER THIS

Answers

Answer:

font face i think

Explanation:

what is a common use for spreadsheets? A.drawing B.writing C.budgeting D.video production

Answers

Answer:

b

Explanation:

he three most common general uses for spreadsheet software are to create budgets, produce graphs and charts, and for storing and sorting data

The common use for spreadsheets is budgeting.

A budget is a financial plan that estimates income and expenses for a specific period of time, such as a month or a year.

Thus option C is correct.

Here,

A spreadsheet is a tool used to organize, analyze, and store data in tabular form. The data is stored in cells that are usually arranged in a rectangular grid of rows and columns.

Spreadsheets can be used for a variety of purposes, including data analysis, budgeting, inventory management, and project management.

Using Spreadsheets for Budgeting: Budgeting is a common use for spreadsheets. A budget is a financial plan that estimates income and expenses for a specific period of time, such as a month or a year.

Spreadsheets can be used to create budgets by entering data such as income sources, expenses, and savings goals into the cells of a worksheet.

Thus option C is correct.

Know more about spreadsheets,

https://brainly.com/question/11452070

#SPJ6

What is the correct syntax to take the first five characters from the cell A2 and place it to its right in cell A3? =RIGHT(A3,5) =LEFT(A2,5) =RIGHT(A2,5) LEFT(A2,5)

Answers

Answer:=LEFT(A2,5)

Explanation:

Answer:

=LEFT(A2,5)

Explanation:

got it right on edge 2020 :)

I have a computer teacher who made me lose points in an assignment and saying that the reference page should be on a separate page. But, when I rechecked my work the reference page was actually on a separate page, and she was marking points off for no reason. She says that she'll grade on "what she sees". I created a document with the link to my assignment and screenshots showing proof that I did the assignment correctly. I even circle the screenshots for her to see where the reference page is. But, she still doesn't believe me at all. What should I do?

Answers

Answer:

Have a talk with your teacher. Ask why she doesn't believe you, and if it still doesn't work, have a talk with someone that can physically help you - a principle or another teacher may be the best solution.

what data type is -6

Answers

Answer:

Data types are different from display formats, which control how values are displayed within columns.

Explanation:

Should be an integer because it’s a whole number!

Describe two new and emerging classes of software

Answers

Answer:

VR and AI/robotics

Explanation:

Hope this helps!

PLEASE HELP!! TIMED Select the corect answer. You try to enter your name to a cell that accepts a numeric value What error would you receive?
A. #NAME
B. #VALUE
C. #REF
D. #####
E. #DIV​

Answers

Answer:

B. #VALUE

Explanation:

Occurs if one of the variables in your formula is of the wrong type (e.g. text value when a numeric value is expected).

Answer:

B. #VALUE

Explanation:

Occurs if one of the variables in your formula is of the wrong type (e.g. text value when a numeric value is expected).

TIME REMAINING 01:48:57 What is the purpose of the website directory provided by the website host? to look up user account information to provide help and training for new customers to store all of a website's content files to archive website usage logs

Answers

Answer:

Cookie

Explanation:

its just because and also the answer is right on e 2020.

Answer:

I think it is c. because I remembered reading that the website directory is used to store files.

Explanation:

I'm taking exams right now.

please help me i will award brainliest

Answers

Answer: It would be option C.

Explanation: The file name is invalid, so therefore it would make sense to rename the most recent version correctly.

Other Questions
o 5. In plant development, a common mutation cancause a plant to have an extra set of chromosomes,often resulting in a larger and stronger plant. Whatis this condition called?A. PolyploidyB. SubstitutionC. Frameshift mutationD. Deletion 57:45For men taking the the Air Force Physical Fitness Test, the best possible time to run 1.5 miles is in less thanA. 15 minutes, 30 secondsB. 13 minutes, 36 secondsC. 9 minutes, 12 secondsD. 10 minutes, 23 seconds A dance student wants to know the favorite type of dance class for students at The Dance Academy. She surveys each student in her ballet class. In which way could the results of her survey be most improved? She could sample an equal number of students in each type of dance class. She could sample a proportional number of students in each type of dance class. She could sample one student in each type of dance class. She could sample one teacher from each type of dance class. In NOP, p = 85 inches, O=57 and P=113. Find the length of o, to the nearest 10th of an inch. What was true of farmers in Louisiana during the antebellum period?Most farmers owned large plantations.Most farmers owned small plots of land.Many farmers grew potatoes and tomatoes.Most farmers used enslaved laborers to raise crops. How is the celebration different from others like the wrestling matches and the Feast of the New Yam? Corn was considered sacred to the Maya, and therefore was not eaten.TrueFalse Meal A has 170 calories in 3 servings. Meal B has 160 caloriesin 4 servings. Which meal has more calories per serving? i need help with these two questions pleaseeeee:^)) Write 2 fractions equivalent to 7/12 What are some negative things the mongols did to an extortion of wealth? PUT MORE THAN ONE ANSWER PLS LIKE PICK MORE THAN ONE!!!!!::Which of these are ways training programs may be documented. Mark all that apply.A. Test ScoresB. Records of completionC. Instructor EvaluationsD. Course Certificates Heres a nother 50 pts enjoy your holidays even know its not now. Taka bought a new coat and a pair of new shoes. He spent no more than $122. Which inequality best represents the price of the shoes y if x represents the cost of the coat?y 122 x122 y + xy 122 + xy x 122 help me please??????? A class of 63 students is going on a field trip. They will take 9 buses. Each bus will have the same number of students. How many students will be on each bus? PLS HELP ASAP THIS IS A TEST!! IT'S NOT GOVERNOR: When presiding, the _____ shall have the deciding vote in case of an equal division of the senate.majority leaderlieutenant governorsecretary of the senategovernor Which object is moving faster based in the graphs presented? 8. How many 1/3 pound hamburger patties can be made out of 9 poundsof ground beef?Your answer Select the correct responses to the questions from the drop-down menus. Which type of wave vibrates both side to side and up and down? P waveS wavesurface wave Which type of wave is the first to arrive during an earthquake? P waveS wavesurface wave Which type of wave may make the ground roll? P waveS wavesurface wave