In our bag, 1/2 is peanuts, 1/4 is chocolate and 1/4 is dried fruit.
The likelihood of drawing a chocolate therefore is 1/4.
The likelihood of drawing a peanut is 1/2 and the likelihood of drawing a dried fruit is 1/4.
Thus, D is the correct answer because the 1/4 likelihood of drawing a chocolate is less than the 1/2 chance of drawing a peanut.
Answer:
Swapping two numbers means exchange the values of two variables with each other.
Answer:
def isAnagram(s1, s2):
list1=s1
list2=s2
sortedlist1 = sorted(list1)
sortedlist2 = sorted(list2)
if sortedlist1 == sortedlist2:
print(list1+ " and "+list2+ " are anagram")
else:
print(list1+ " and "+list2+ " are not anagram")
Explanation:
Here is a call to the function isAnagram():
list1 =input("Enter String1 ")
list1 =input("Enter String2 ")
isAnagram(list1,list2)
Attached is the run and output for this program
Answer:
enables you to make changes to one part of an image without accidentally changing other parts
Explanation:
Computer aided designs incorporate the use of multiple layers in drawings. The first layer is known as the layer 0, while the present layer the designer is working on is known as the current layer. The advantage of the incorporation of layers in designs include the following
1. It helps objects to be altered, grouped, hidden and moved as the designer wishes.
2. Layers can be grouped and worked on separated and common properties like color and line weight assigned to them.
3. Layers can be manipulated as the user wishes. They can be locked, frozen, turned off, etc. Locking prevents accidental changes being made on objects.
Answer: money
Explanation: money is life and the air is fat is full of fart