What do you want to save?
Add Code snippet
New code examples
-
Python 2022-03-10 19:20:43
ecuaciones de segundo grado con phyton
from math import sqrt A = int(input("Ingrese el coeficiente de la variable cuadrática\n")) B = int(input("Ingrese el coeficiente de la variable lineal\n")) C = int(input("Ingrese el término independiente\n")) x... Add solution -
Python 2022-01-22 19:10:21
calculate the euler totient of a number python
from math import e Add solution -
Python 2021-11-19 05:50:19
python function exercises
# Let me know if there's any mistakes or errors as this is original :) # This look a ton of effort to make and this is mainly for beginners to practice. # Good luck and have fun! 'Predict the following output for the questions below.' # Question 1: num... Add solution -
Other 2021-11-03 19:29:20
Derivation of the equations program
1a = 2 a1 = b x = 2 y = X + 4 # is it 6? from Math import tan print tan(pi) pi = "3.14159' print tan(pi) c = 4**3**2**3 _ = ((c-78564)/c + 32)) discount = 12% AMOUNT = 120.- amount = 120$ address = [email protected] and = duck class = 'INF1100, gr 2&quo... Add solution -
Python 2021-10-29 09:11:09
naive bayes classifier calculating sigma
# Naive Bayes On The Iris Dataset from csv import reader from random import seed from random import randrange from math import sqrt from math import exp from math import pi # Load a CSV file def load_csv(filename): dataset = list() with open(filename, ... Add solution