very independent : ) we use it for everything
Answer:
0.001625
Explanation:
if the velocity of an object is lower than 1% of light speed
The program that ask the user to type there first name and then print out how many letters that is in there name is as follows:
x = input("what is your first name: ")
y = len(x)
print(f"There are {y} letters in your name")
<h3>Code explanation;</h3>
The code is written in python.
- Firstly, we store the users name in the variable x.
- Then, we find the length of the users inputted name and store it in a variable y.
- Finally, we print the length of the users name using the print function.
learn more on python here: brainly.com/question/26738945
Answer:
- class AirConditioner:
- def __init__(self, a_c=False):
- self.office_a_c = a_c
-
-
- ac = AirConditioner()
- ac.office_a_c = True
Explanation:
Firstly, create a class and name it as AirConditioner (Line 1).
Next in the class constructor, create the reference variable office_a_c (Line 3). Please note the reference variable shall be preceded with a self keyword. Besides, the reference variable is set to False by default.
Create an AirConditioner object (Line 6) and then use the dot syntax (.) to set the object reference variable office_a_c to True.