Answer: Here you go, change it however you like :)
Explanation:
v = [24, 20, 29, 32, 34, 29, 49, 46, 39, 23, 42, 24, 38]
usr = int(input("Enter number: "))
print(f"Index: {v.index(usr)}") if usr in v else print(-1)
<h2>
Answer:</h2>
10
<h2>
Explanation:</h2>
Specific gravity (also called relative density) is the ratio of the density of an object (or substance) to the density of a reference substance (mostly water). It has no unit and is given by the following;
Specific gravity = 
Specific gravity is also given by the ratio of the weight of the object in air to the loss of weight of the object in water. i.e
Specific gravity =
--------------(* * *)
In this case;
i. The object is the solid which has a weight of 20gf in air.
ii. The loss of weight of the solid in water is the difference between the weight in air (20gf) and the weight in water (18gf).
Therefore the loss of weight is
20gf - 18gf = 2gf
Now substitute these values from (i) and (ii) into equation (* * *) as follows;
Specific gravity = 
Specific gravity = 10
Therefore the specific gravity of the solid is 10
Answer:
- num1=10
- num2 =20
- num3="30"
- sum = num1+num2+num3
- print (num1)
- print (num2)
- print (num3)
- print (sum)
The error is at line 3. The variable num3 has been assigned a string value with use of the quotes.
To fix the error, take away the quotes from the number 30, since the arithemetic operation cannot be carried out on the string in python program language.
Explanation:
Answer:
The inserted text will appear as underlined text. The deleted text will appear as strike through text.
Explanation:
In HTML the text which has been inserted will appear as underlined text. It means if we insert something in HTML then it will underline it. This will highlight the text that has been inserted. While on the other hand if we delete some text and replace it with some other text, then it will appear as strikethrough text.
Strikethrough text is the text which is represented with a horizontal line in its center. It represents those words which are added by mistake and are not meant for inclusion.