favorite_color = input("Enter favorite color:\n")
pet = input("Enter pet's name:\n")
num = input("Enter a number:\n")
print("You entered: "+favorite_color+" "+pet+" "+num)
password1 = favorite_color+"_"+pet
password2 = num+favorite_color+num
print("First password: "+password1)
print("Second password: "+password2)
print("Number of characters in "+password1+": "+str(len(password1)))
print("Number of characters in "+password2+": "+str(len(password2)))
This works for me.
Answer: I didn’t have a “date”, I went with friends.
Answer:
The answer is "1 inch"
Explanation:
The margin is also known as space, it is the distance between the document 's text and edge. In default, its distance is 1, and it also allows you to customize, the new document, which is set to standard.
- In other words, we can say that it implies the one-inch gap between the text and each edge, which is based on your specifications.
- It also allows you to customize the margin size of the document, and other choices were wrong because it is the customize size.
Answer:
The answer is nearest-neighbor learning.
because nearest neighbor learning is classification algorithm.
It is used to identify the sample points that are separated into different classes and to predict that the new sample point belongs to which class.
it classify the new sample point based on the distance.
for example if there are two sample points say square and circle and we assume some center point initially for square and circle and all the other points are added to the either square or circle cluster based on the distance between sample point and center point.
while the goal of decision tree is to predict the value of the target variable by learning some rules that are inferred from the features.
In decision tree training data set is given and we need to predict output of the target variable.
Explanation: