What do you want to save?
Add Code snippet
New code examples
-
Python 2022-03-21 19:20:16
solve a second degree equation in python
import math print ("The second degree equation comes in the form") print("ax²+bx+c") a =int (input("Enter a: ")) b =int (input("Enter b: ")) c =int (input("Enter c: ")) d = (b**2)-(4*a*c) if d <... Add solution -
Python 2022-03-12 06:45:40
rounding a number high up
import math print(int(math.ceil(4.2))) Add solution -
-
Python 2022-02-19 22:20:05
tensorflow sequence datagenerator
from skimage.io import imread from skimage.transform import resize import numpy as np import math ##################################### # It should return the whole batch! # ##################################### # Here, `x_set` is list of path to the ima... Add solution -
-
Python 2022-02-04 05:15:03
how to multiply 2 decimals together and get answer back in python
import kivy # todo import buttons from kivy and add clear number button on bottum of program and then bind button from kivy.app import App from kivy.uix.label import Label from kivy.uix.gridlayout import GridLayout from kivy.uix.textinput import TextInput... Add solution