How do I convert numbers into percentages. The all of the percentage is out of 50%.

2 answers

Fractions: Divide the numerator by the denominator. Multiply the decimal answer by 100.

3/4 = 0.75 = 75%
Q8A & Q8B: Using the castaway_details data, what is the percentage of total extroverts and introverts that have played the game (count players only once even if they have played in more than one season). Do not count contestants without a personality type listed in your calculations. Save these percentages as Q8A and Q8B respectively. Note: Round all percentages to two decimal points and write as a float (example: 55.57) python code