Question

5. Write the Python code to prompt the user for the square footage of their home Provide them the cost of cleaning their home

0 0
Add a comment Improve this question Transcribed image text
Answer #1
Code.py

a = int(input("Enter square forage: : "))
res = a * 0.075
print("Carge:",res)
Add a comment
Know the answer?
Add Answer to:
5. Write the Python code to prompt the user for the square footage of their home...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 5. Write the Python code to prompt the user for the square footage of their home...

    5. Write the Python code to prompt the user for the square footage of their home Provide them the cost of cleaning their home if it is charged at $0.075/ft2. Be sure to format the output appropriately 5. Write the Python code to prompt the user for the square footage of their home Provide them the cost of cleaning their home if it is charged at $0.075/ft2. Be sure to format the output appropriately

  • python - Write a program that converts square feet to square yards. Prompt the user to...

    python - Write a program that converts square feet to square yards. Prompt the user to enter a value in square feet and then print the converted output along with a message similar to "1 sq. ft. is .11111 sq. yards."

  • Write a Python program that will prompt a user for the size of their (round) pizza...

    Write a Python program that will prompt a user for the size of their (round) pizza and will output the number of square inches in the pizza. it should be have comment block about date

  • Write a Python script in that will prompt the user to enter a string. After the...

    Write a Python script in that will prompt the user to enter a string. After the user enters their string print its length and the ordinal value of the first, third, and seventh character. Assume the input will be of sufficient length. Use "nice" input and output

  • Write a PYTHON program that reads a file (prompt user for the input file name) containing...

    Write a PYTHON program that reads a file (prompt user for the input file name) containing two columns of floating-point numbers (Use split). Print the average of each column. Use the following data forthe input file: 1   0.5 2   0.5 3   0.5 4   0.5 The output should be:    The averages are 2.50 and 0.5. a)   Your code with comments b)   A screenshot of the execution Version 3.7.2

  • Help with a C code! Multidimensional Array problem: a) prompt the user for the number of...

    Help with a C code! Multidimensional Array problem: a) prompt the user for the number of rows they want. Then, print an array of stars. For example, if user prompts "5", the output should look like: * * * * * * * * * * * * * * * b) Do the same, but inverse the table. If user types 5 for their prompt, output will look like: * * * * * * * * * *...

  • thank you!! c++ 9. Write the code to prompt the User for website name and a...

    thank you!! c++ 9. Write the code to prompt the User for website name and a domain name. Display the website name, then add “www.” to the beginning of it and“. <domain name>” to the end of it, where <domain name> is the domain name they entered (e.g. “com”, “edu”, “net”, etc.). If the user included the “.” (dot) in the <domain name>, do not add an additional dot. If they did not include the dot, then add the dot...

  • Write a program that will compute the user annual salary. Prompt the user the enter (1)...

    Write a program that will compute the user annual salary. Prompt the user the enter (1) the weekly salary. Store the information in a double variable. Prompt the user to enter the number of weeks worked in a year. Use an int variable for that. Write code that will compute the user's Annual salary. Gross salary is salary before any deductions are taken. Update the code and prompt the user to enter the federal tax rate and the state's tax...

  • Write a Python program to prompt the user for an integer number. Assign this integer to...

    Write a Python program to prompt the user for an integer number. Assign this integer to a variable X. Then assign a variable Y to the X**3 (X to the power 3). Finally, assign the variable Z to the square root of Y and print the values of X, Y, and Z as shown in the example below. Use main() function to define and call the program. Example: Enter an integer number: 3 X = 3 if Y=X**3 then Y...

  • Python code Write a program that will ask the user to input two strings, assign the...

    Python code Write a program that will ask the user to input two strings, assign the strings to variables m and n If the first or second string is less than 10 characters, the program must output a warning message that the string is too short The program must join the strings m and n with the join function The output must be displayed. Please name the program and provide at least one code comment (10)

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT