Software is also called a program or an application.
Answer:
file_name = 'orders.txt'
file_obj = open( file_name, 'r' )
lines = file_obj.read()
print(lines.upper(), end = '')
Explanation:
- Define the name of the file
.
- Use the built-in open function to open the file in read mode
.
- Use the built-in read function to read the file and assign this to lines variable.
- Finally display the lines by converting them to capital alphabets by using the built-in upper() function.
Answer:
Following are the code to the given question:
user_num = int(input())#defining a variable user_num that takes input from user-end
x = int(input())#defining a variable x that takes input from user-end
for j in range(3):#defining for loop that divides the value three times
user_num = user_num // x#dividing the value and store integer part
print(user_num)#print value
Output:
2000
2
1000
500
250
Explanation:
In the above-given program code two-variable "user_num and x" is declared that inputs the value from the user-end and define a for loop that uses the "j" variable with the range method.
In the loop, it divides the "user_num" value with the "x" value and holds the integer part in the "user_num" variable, and prints its value.
Answer:
HTTP
Explanation:
I hope it helps u.
Mark Me as brainlist answer
Suction cup-type headlamp aiming equipment may be used on "assemblies with internal adjustments".
Option B
<u>Explanation:</u>
The suction cup type aiming equipment uses protruding pegs built into the headlamp lens. Without such pegs headlamps have no use to such equipment. Such headlamps are that adjusts the assembly but not only the beam of light.
Some assemblies also adjust the beam inside the headlamp as the exterior section of the assembly does not move with the adjustment. The suction cup need the lens to be smooth as the cup will not attach to a lens with raised letters.