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
I believe it would be inserting a watermark (B)
Answer:true
Explanation: we cant rely on computers
Answer:
study Epic AMB400 using smart web and mobile flashcards created by top student, teachers and professor
Pseudocode:
import random
fetch user input on a lucky number
insert input into variable - "response"
new variable, random = randint
condition to check wheather random is our response
display results
Python Code:
import random
def main():
response = int(input("Guess my lucky number, its between 1 and 100: "))
lucky_number = random.randint(1,100)
if response == lucky_number:
print(f"Wow you're right, it is {lucky_number}")
else:
print("Sorry, Try Again")
main()
Reminder:
intended for python3 as i included the format f
also it could be done without the import, just manually insert a number
i'll leave the post mortum to you