Answer:
Door locks
Light switches
Security cameras
Thermostat
Explanation:
IoT is internet of things that means network of different things that are interconnected through internet and make the decision with the help of Electronic sensors. The sensor sense the data from environment at different times and send this to the cloud (that may be the server). On the basis of this data different devices such as door looks, light switches, security cameras and thermostat take decisions with the help of controllers and change their current state.
<u>For Example</u>
In case of door look, there may be sensor that is sensing the finger prints of the user and after recognizing the person the door will be unlock. If unauthenticated user will try to open the lock a message has been sent to concerned. The training data of the the authorized persons is saved on the cloud, whenever someone tries to access, the data from sensor and cloud send to controller for making comparison and decision. So we can say that Door lock can be controlled IoT.
In case of light switches, there are few sensor available to sense the intensity of life. Different training values of that sensors are stored on the cloud. Whenever these sensors sense the light intensity, they send the data to the cloud contentiously, whenever the data match with darkness intensity, a signal has been send from controller to the switch to ON the lights.
Same as in cameras and Thermostat both are sending data to the cloud and controller. With the help of different image processing techniques and sensor camera will take the decision related to face recognition. Thermostat devices are also on and off by variation of temperature.
Explanation:
glosario es una lista de palabras de las cuales no conocemos el significado y en el que se explica su significado
ESPERO Y TE AYUDE ;)
import random
computer_choice = random.choice(['rock', 'paper', 'scissors'])
player_choice = input('Choose rock, paper, or scissors: ')
if player_choice == computer_choice:
print('Tie. Both players chose '+player_choice)
elif (player_choice == 'rock' and computer_choice == 'scissors') or (player_choice == 'paper' and computer_choice == 'rock') or (player_choice == 'scissors' and computer_choice == 'paper'):
print('You won! '+player_choice +' beats '+computer_choice)
else:
print('You lost! '+computer_choice+' beats '+player_choice)
I wrote my code in python 3.8. I hope this helps. Note the elif statement is actually one line of code but it looks like it takes up more than one line.
Answer:
This is the game guess the number. The computer ask you. Hey! I have thought of a number in between 1 and 20. Can you guess what the number is? If you predict correct, Computer says you guessed right and in so and so number of times. Or else if your guess is larger than guess than it says your guess is too high and it says too low if guessed number is less than the guess. However, in this program it always says it guessed right in one attempt. Actually, we use here if else ladder, The problem is in this if else ladder expression. It has not been set properly. Hence, Adam needs to check that part of the program.
if guessd_number == guess:
attempt++
print( "you guessed right in" +attempt+"attempts)
elif guessed_number < guess:
attempt++
print("your guess is too low")
else:
attempt++
print("your guess is too high")
And this will be inside a while loop. The problem is definitely here.
Explanation:
The answer is self explanatory.