Generation

generate functionMon, 27 Mar 2023

Realizar un grafico de porcentaje

import matplotlib.pyplot as plt def plot_pie(cantidad_a, cantidad_b): plt.pie([cantidad_a, cantidad_b], labels=['cantidad_a', 'cantidad_b'], autopct='%1.1f%%') plt.show() plot_pie(100, 50)

Want to kickstart your project?Use the new AI Studio to create your code