Answer:
"A set is an unordered collection. A dictionary is an unordered collection of data that stores data in key-value pairs."
Explanation:
Set =>
Collection of non-repetitive elements.
Unordered
Unindexed
No way to change items.
Dictionary =>
Collection of key-value pairs.
Unordered
Indexed
Mutable
Answer:
Charles Babbage was considered to be the father of computing after his concept, and then later the invention of the Analytical Engine in 1837. The Analytical Engine contained an ALU (arithmetic logic unit), basic flow control, and integrated memory; hailed as the first general-purpose computer concept.
PLEASE MARK ME AS BRAINLIEST :)
Answer:
Follows are the code to the given question:
def steps_to_miles(user_steps):#defining a method steps_to_miles that takes a variable user_steps
return user_steps/2000#use return to calculate the steps
user_steps = int(input())#defining a variable user_steps that holds value from the user-end
print('%0.2f' % steps_to_miles(user_steps))#defining print that calls the steps_to_miles method
Output:
5345
2.67
Explanation:
In this code a method "steps_to_miles" that takes "user_steps" in the parameter inside the method a return keyword is used that calculates the user steps and return its values.
Outside the method, a "user_steps" variable is declared that inputs the value from the user-end pass into the method and prints its value.
Answer:
these are some benefits Keep track of multiple areas of interest. If you want to write extensively about your day-to-day life, your exercise goals, the movies you see, and the places you visit, you might feel more organized if you have a separate place to write about each topic.
Answer:
The program in Python is as follows:
first = int(input())
second = int(input())
third = int(input())
s = first * second * third
print(s)
Explanation:
This prompts the user for first input
first = int(input())
This prompts user for second input
second = int(input())
This prompts user for third input
third = int(input())
This calculates the product
s = first * second * third
This prints the calculated product
print(s)