Pls answer these

Question-1 Write a program in Python to read the room temperature and display the same using variable.

Question-2 list 3 input and output in smart living

Question-3 Write a program in python to turn the LED on/off according to the availability of light using IF…ELSE statement.

Question-4 Mary wants to help her visually challenged elderly uncle to maintain the room temperature by switching on AC; alert him with a beep sound(temp>28).Create a python script for the same.

Answers

Answer 1

Using the knowledge in computational language in python it is possible to write a code that read the room temperature and display the same using variable.

Writting the code for the temperature and a list:

temp = float(input("Enter Temperature: "))

unit = input("Enter unit('C' for Celsius or 'F' for Fahrenheit): ")

if unit == 'C' or unit == 'c' :

   newTemp = 9 / 5 * temp + 32

   print("Temperature in Fahrenheit =", newTemp)

elif unit == 'F' or unit == 'f' :

   newTemp = 5 / 9 * (temp - 32)

   print("Temperature in Celsius =", newTemp)

else :

   print("Unknown unit", unit)

Writting the code for the LED:

from pyfirmata import util, Arduino

import time

def blink(b_time):

   board = Arduino('COM5')

   it = util.Iterator(board)

   it.start()

   led_13 = board.get_pin('d:13:o')

   while True:

       led_13.write(1)

       print('Led ON')

       time.sleep(b_time)

       led_13.write(0)

       print('Led OFF')

       time.sleep(b_time)

if __name__ == '__main__':

   blink(0.2)

See more about python at brainly.com/question/29897053

#SPJ1

Pls Answer TheseQuestion-1 Write A Program In Python To Read The Room Temperature And Display The Same
Pls Answer TheseQuestion-1 Write A Program In Python To Read The Room Temperature And Display The Same

Related Questions

what is presentation software in bussiness used for

Answers

Answer:

Presentation software is a category of application software that is specifically designed to allow users to create a presentation of ideas by stringing together text, images and audio/video.

Explanation:

Answer:

Presentation software is a category of application software that is specifically designed to allow users to create a presentation of ideas by stringing together text, images and audio/video.

Explanation:

What file format is best to give a printer when working with Adobe InDesign?


GIF

TIFF

HTML

IDML

Answers

Answer:

TIFF

Explanation:

GIFs are animated image files, and printers can't print animations

TIFFs are basically image files

HTML is a coding file, you were to print it, it would print the HTML text of the image

IDML is an XML representation of an InDesign document or components, if you were to print it, its outcome would be basically the same as printing an HTML file.

Raster graphics allows which of the following?

(A) Limited color effects

(B) Color blending capabilities due to tiny pixels

(C) Scalable image without pixilation

(D) Layouts

Answers

Answer:

(C) Scalable image without pixilation

Write a program whose input is two integers, and whose output is the first integer and subsequent increments of 5 as long as the value is less than or equal to the second integer C++

Answers

Answer:

#include <iostream>

using namespace std;

int main() {  

 int start, end;

 cout << "Enter start number: ";

 cin >> start;

 cout << "Enter end number: ";

 cin >> end;

 for(int n=start; n<=end; n+=5) {

   cout << n << " ";

 }

}

Explanation:

I output the numbers space separated.

what is the meaning of url

Answers

Answer:

it stands for Uniform Resource Locator.

Explanation:

Uniform Resource Locator: a location or address identifying where documents can be found on the internet.

How does a filmmaker decide which events to include in a documentary?

Answers

Answer:

A documentary is a film based on facts in which the maker tries to portray an aspect of reality, such as politics, science, society or history, nature or the personal perception of the documentary maker.

Documentaries are informative in nature. Sometimes documentaries attempt to provide an objective picture of a subject. There is a lot of debate about what is objective, because the documentary maker chooses his images from reality, which is in itself a subjective act. In a creative author's documentary, the emphasis is on the subjective vision of the filmmaker.

Therefore, the documentary maker will select the events to include in the documentary according to the approach he or she wants to give to it, be it objective or subjective.

Physical Geography of the Middle East

Answers

Answer:

Explanation:

He’s wright SS7G5 The student will locate selected features in

Southwestern Asia (Middle East).

a. Locate on a world and regional political-physical map:

Euphrates River, Jordan River, Tigris River, Suez Canal,

Persian Gulf, Strait of Hormuz, Arabian Sea, Red Sea, and

Gaza Strip.

b. Locate on a world and regional political-physical map the

nations of Afghanistan, Iran, Iraq, Israel, Saudi Arabia, and

Turkey

You are a part-time manager for The Mobile Vegan, a food truck catering to vegan diners in Portland, Oregon. Jessica Rosen, the owner of the business, wants to expand by adding other food trucks in Portland and the surrounding area. Whether she purchases new trucks or takes over an existing food truck business with an established clientele, she needs a loan to cover the cost of the trucks. She has asked for your help updating the workbook she created to analyze the loan information and forecast sales. Switch to the Loan Scenarios worksheet, and then calculate the monthly payment for the Add 1 Truck scenario as follows:
a. In cell D11, enter a formula using the PMT function to calculate the monthly payment for a loan.
b. Use the inputs listed under the Add 1 Truck loan scenario in cells D5, D7, and D9. (Hint: The result will be displayed as a negative number to reflect the negative cash flow of a loan payment.)

Answers

Answer:

i acc dont know

Explanation:

srry

Select all statements below that are TRUE for For...Next loops. A. It is used for a fixed number of iterations. B. It is used for a variable number of iterations. C. It uses an integer counter; not a loop condition. D. It uses a loop condition; not an integer counter. E. Only consider this option if you checked alternative D above: It checks the loop condition a the BEGINNING of the loop, F. Only consider this option if you checked alternative D above: It checks the loop condition a the END of the loop,

Answers

Answer:

A and C

Explanation:

The for next loop is used for a fixed number of iterations which is usually indicated in the syntax. It uses a counter that increments on each iteration. The loop terminates when the counter reaches the number of initially specified iterations. It is different from a while loop which depends on a specified condition evaluating to the Boolean 'true'.

Jason is working on a Microsoft Excel worksheet and he wants to create a Print Preview shortcut. His teacher asks him to access the Customization option to create the new shortcut. Which two tabs should Jason select to place the Print Preview shortcut on the worksheet toolbar?

Answers

Answer:

New Tab (Custom) and New Group (Custom)

Explanation:

In order to accomplish this Jason needs to use New Tab (Custom) and New Group (Custom). The New Tab (Custom) will allow Jason to add a new tab with the Print Preview shortcut as a brand new tab in the software. Then using the New Group (Custom) tab, Jason can group the Print Preview shortcut with the worksheet toolbar so that it appears as part of the original toolbar with the rest of the tools available in the toolbar.

What is the difference between PowerPoint and Outlook?

PowerPoint is a presentation program; Outlook is a personal information management application.
Outlook is a presentation program; PowerPoint is a personal information management application.
PowerPoint is a program that lets you create, edit, format, and print written documents; Outlook is a computer application that uses a grid system to organize and manipulate data.
Outlook is a program that lets you create, edit, format, and print written documents; PowerPoint is a computer application that uses a grid system to organize and manipulate data.

Answers

Answer:

PowerPoint is a presentation program; Outlook is a personal information management application.

Explanation:

Powerpoint is the program used in presentations where slides designed and then shown to the audience.

Outlook is used to display various types of personal information like calendar appointments and emails.

A cheetah has a mass of 50kg and can accelerate at 10 m/s2. This is equal to 500 Newtons which is the force the cheetah creates to run. Let's calculate how much work the cheetah does and how much power it generates when it runs 50 meters in 3 seconds.

Step 1: Determine how much work is done (measured in joules).

Multiply the force by the distance 500N×50meters= _______ joules



Step 2: Determine the power (measured in Watts).

Divide the work by the time it took to do the work 25,000joules÷3s.= _______ watts

Answers

Answer:

often, work done= Force<<* distance

so work done=500N * 50m

work done=25000J

also, Power=work done/Time taken

Power=25000J/3sec

Power=8333.333.....

Write a program that will have Tracy draw a stretched out slinky. The slinky should have: Five rings Each circle should have a radius of 35 Tracy should move forward 40 pixels after every circle

Answers

Solution :

The Tracy commands :

main.py

   circle(35)

   forward(40)

   circle(35)

   forward(40)

   circle(35)

   forward(40)

   circle(35)

   forward(40)

   circle(35)

   forward(40)

Does anyone know this?

Answers

Answer:

DOCX merupakan file Microsoft Word Open XML Format Document. Ya, ini merupakan file yang tercipta dari pembuatan dokumen di Microsoft Word, aplikasi pembuatan teks bikinan Microsoft. File dengan ekstensi DOCX berbasiskan XML dan bisa saja mengandung teks, objek, style, formating, dan gambar.

Ivan has five workbooks open. he has arranged these files in a specific grouping so he can view them at the same time. In order to save these files i this specific order, ivan must create a----​

Answers

i think the answer is
folder.

You have a small network at home that is connected to the internet. On your home network, you have a server with the IP address of 192.168.55.199/16. You have a single public address that is shared by all hosts on your private network. You want to configure the server as a web server and allow internet hosts to contact the server to browse a personal website. What should you use to allow access

Answers

Static NAT is the answer,. :) great question BTW!

Note that common skills are listed toward the top and less common skills are listed toward the bottom. According to O*NET, what are some common skills needed by Accountants? Select four options


mathematics

reading comprehension

equipment maintenance

quality control analysis

active listening

writing

Answers

Answer:

A, B, E and F Brainliest please

Explanation:

solve each ratio 35:7​

Answers

Answer:

5:1

Explanation:

Divide each side by 7

True or False: The proze for winning the NHL champioship is called the
"James Norris Trophy."

True or False​

Answers

False it is the Stanley cup

What is an example of a composite key in a database table?

InvoiceID
CustomerID
ProductID
OrderID + ProductID

Answers

Answer:

b

Explanation:

OrderID + ProductID is an example of a composite key in a database table. The correct option is 4.

What is composite key?

A composite key is a key in a database table that consists of two or more columns that uniquely identify each row.

In a database table, a composite key is the combination of OrderID and ProductID in a table that tracks sales transactions.

Because a single order can contain multiple products and multiple orders can contain the same product, neither column can uniquely identify a row by itself.

However, by combining the two columns, each row can be uniquely identified, ensuring that the data is accurate and complete.

Similarly, a combination of CustomerID and ProductID might be used in a sales system to track the products purchased by each customer.

Thus, the correct option is 4.

For more details regarding composite key, visit:

https://brainly.com/question/10167757

#SPJ3

PLS HELP ME I NEED HELP WILL GIVE BRAINLIEST

Answers

1.His story is told here deep detailed history of the company’s you love coming in everyday.

2.The contribution was the computer
Oct 4 1903-June 15 1995

please help me with computing!
the question is:
solve the following algorithm in pseudocode "the algorithm is required to prepare a teacher's payroll. For them, the hours worked and the price per hour are taken into account. place the input data and the output data.​

Answers

Answer:

ok i help

Explanation:

What are three examples of information technologies you use in your everyday life? Which do you consider to be the most important to you on a daily basis and why?

Answers

Although IT is crucial to many other daily tasks, other examples of IT systems include the internet, mobile phone networks, broadcast radio and TV systems.

What information technologies use in your everyday life?

Information technology has made it possible for people to connect with one another more quickly, simply, and affordably than ever before. Texting and making video calls are so easy these days. There are numerous apps available online that provide these services.

Therefore, radio and phone equipment for video conferencing. Individual computers, For handling goal-setting and performance reviews, use performance management software.

Learn more about information technologies here:

https://brainly.com/question/14426682

#SPJ1

SOMEONE PLS HELP ME
Alright so in problem solving class which I think is basically compsci we are working with Karel and conditional loops. The world we are using rn is called cleanUp. I need someone who is good at this stuff to help me ASAP!!!!!!! It’s due at 8:30 am tomorrow!!

Answers

what i don’t get this i’m sorry what

Ellie is conducting formal research for a new design project and wants to find demographic information. What source is considered most credible to use for her research?

Wikipedia articles

competitor websites

government data

magazine opinion pieces

Answers

may be wikipedia i’m sorry if it’s wrong ☹️

Answer:

Its governmental data

Explanation:

Which range function creates the following list of numbers?
76 74 72 70 68 66 64 62

Answers

Answer:

they look like even number

Explanation:

2 4 6 8 10 12 -------seeeeee but not hundred percent sure but plz put me in brainlist

For what purpose is IT used in business?

Answers

Answer:

Technology is used in various ways; businesses can use technology in manufacturing, improving customer care, transportation, human resource management, business communication, use technology to improve their services or products as a way of gaining competitive advantage .

Answer:

Technology is used in various ways; businesses can use technology in manufacturing, improving customer care, transportation, human resource management, business communication, use technology to improve their services or products as a way of gaining competitive advantage .

Explanation:

BRAILIEST PLZ!

List four things that must be taken into consideration when evaluating different resources of information (and explain ANY ONE from the list)​

Answers

Answer:

objectivitycurrencyaccuracyauthority

Explanation:

authority:is important to know if the information provided is reliable or not.

When entering information for a new contact in the address book, Outlook will automatically create a _____. A. Invitation B. Response email C. Business card D. Calender

Answers

D:calendar is it i think

The Find and _______ commands allow you to easily locate and replace text. Bookmarks allow you to easily navigate to other parts of a document while _______ allow you to easily navigate to places within or outside the document. Use the _______ _______ to find out if your document contains personal information and comments. If the person receiving your document has a pre-2010 version of Microsoft Word, it makes sense to use the _______ _______. To make sure your document can be read by devices for the visually impaired, run the _______ _______.

Answers

Answer:

(a): Replace

(b): Hyperlinks

(c): Document Inspector

(d): Compatibility checker

(e): Accessibility checker

Explanation:

You will get the brief explanation of what each of the answers in the answer section does, when you complete the blanks with the answers.

However, further explanation is as follows;

(a): The find and replace tool or command allows the user to quickly replace a certain character or word or group of words with another character or word or group of words.

(b): Hyperlinks are used to link to a new document entirely or a point in the current document. Hyperlinks in Microsoft Office Word, are often in blue, and they are always double underlined.

(c): Document inspector checks hidden data such as personal information.

(d): Compatibility checker checks if a Word document is compatible with a previous edition of Microsoft Office Word.

(e): Accessibility checker checks if the people living with disabilities can use the Word document without issues.

The correct answer for each of the blanks in the given paragraph about commands and tools in computer are;

REPLACEHYPERLINKSDOCUMENT INSPECTOR COMPATIBILITY CHECKERACCESSIBILITY CHECKER

A) The commands that allows the user to quickly locate and replace a text are called find and replace commands because they are used to replace a certain character or text or group of texts with another.

B) The means by which you are allowed to easily navigate to places within or outside the document is called Hyperlinks. This is because that are used to give us a link to a new document or a related one outside of the current document.

C) The tool used to find out if your document contains personal information and comments is called Document inspector. This is because it aids in checking personal information and other hidden data information.

D) The tool to use if the person receiving your document has a pre-2010 version of Microsoft Word, is called Compatibility checker. This is because a compatibility checker would help to find out if a particular Word document is compatible with a previous version of Microsoft Word.

E) The tool to run to make sure your document can be read by devices for the visually impaired is called Accessibility checker as it has inbuilt codes to assist in checking if the document can be effectively utilized by people living with disabilities.

Read more about tools and commands in Microsoft Word at; https://brainly.com/question/1323179

Other Questions
Please help. We are stuck on this one question. Thank you was brutus 1 against judicial activism PLEASE HELP URGENT ILL GIBE BRANLIEST Hamburger Heaven is having a lunch special where customers buy one 1/4 pound cheeseburger and get one free. If they set aside 114 2/3 pounds of meat, how many -pound cheeseburgers can they make? The Raidius of a spherical globe is 9 inches what is the volume of the globe? How do our attitudes help us organize our reality? No links! Please!!Factor 28x+12y using the GFC A rectangular swimming pool has a width of 42 ft and a diagonal of 70 ft. Find the length of the pool. What are three stages of the learning journey that Kiran Bir Sethi talks about? may someone please help me I would appreciate it AYUDAAAAA!!! Partes de una cantidad Es para hoy en la tarde porfis:-| Anybody please help me Select the correct answer.Which of these is an example of diplomacy?A. the president submitting a proposal for an immigration bill to CongressB. students from different cultures attending school in each other's nationC. representatives from two nations working together to resolve a disputeD. Congress agreeing with the president's request to declare war on a nation Based on her diagram, what is the role of the sunfish in this food web?A. To break down waste products made by insect larvae B. To provide energy for the bass and snapper turtles C. To take in light from the sun and produce food D. To consume the algae and other pond plants What is the pH of a 4.7 x 10-9 M HCl solution? * 4.67 8.33 11.21 2.93 Universal Foods issued 10% bonds, dated January 1, with a face amount of $176 million on January 1, 2021 to Wang Communications. The bonds mature on December 31, 2035 (15 years). The market rate of interest for similar issues was 12%. Interest is paid semiannually on June 30 and December 31. (FV of $1, PV of $1, FVA of $1, PVA of $1, FVAD of $1 and PVAD of $1) (Use appropriate factor(s) from the tables provided.) Required: 1. to 3. Prepare the journal entries to record the purchase of the bonds by Wang Communications on January 1, 2021, interest revenue on June 30, 2021 and interest revenue on December 31, 2028 Who is most likely to follow public opinion polls to help them make decisions? Members of the House of Representative, Senators or the President? Why? Please helpppppIn GHI the measure angle I = 90 the measure of angle G = 5 and IG = 57 feet. Find the length of GH to the nearest tenth of a foot select the correct answer if not watch out for your back mate What was the outcome of the battle of Cantigny?