Answer:
Check the explanation
Explanation:
print("************************************************************")
sentence = input("Enter a sentence : ").split()
replace_words = input("\nEnter the words that should be replaced : ").split()
special = input("\nEnter the replacing special Character : ")
result = []
for word in sentence:
if word not in replace_words:
result.append(word)
else:
result.append(special * len(word))
result = ' '.join(result)
print("\nThe Sentence with words censored is : " + result)
print("************************************************************")
Answer:
polygon_sides = {"Triangle" : 3,"Square" : 5}
n_polygons = {}
for key in polygon_sides:
n_polygons[polygon_sides[key]] = key
print("Polygon sides: ", polygon_sides)
print("Names of polygons: ", n_polygons)
Explanation:
- Initialize the polygon_sides dictionary.
- Loop through polygon_sides dictionary and assign the associated names to n_polygons variable.
- Display the polygon sides and the names of polygons.
Answer:
FALSE....john has no idea what hes talking about. i knew this was false yet i looked it up and got it wrong anyway because of john its freaking false
Explanation:
Email attachments hope this helps