Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

python conjugate

from fractions import Fraction

num1 = Fraction(2, 7)
num2 = Fraction(3, 8)
print(num1 * num2)

z = 1 + 1j
print(z+2)
print(z.conjugate())
Comment

PREVIOUS NEXT
Code Example
Python :: scrape sitemap 
Python :: python insert item into list 
Python :: writing to a file, with echo 
Python :: python __repr__ meaning 
Python :: python console install package 
Python :: how to import matplotlib in python 
Python :: ord() in python 
Python :: python list merger 
Python :: change date format to yyyy mm dd in django template datepicker 
Python :: print only strings in list python 
Python :: how to run python in atom 
Python :: CVE-2018-10933 
Python :: python class destroying 
Python :: Setting up WingIDE to debug Flask projects 
Python :: python select columns names from dataframe 
Python :: log in python 
Python :: python check if attribute exists in dictionary 
Python :: how to create one list from 2d list python 
Python :: matplotlib remove white lines between contour 
Python :: python convert xml to dictionary 
Python :: create time array whith np.datetime64 
Python :: sqlalchemy create engine Oracle 
Python :: python 3d list 
Python :: plotly ylog 
Python :: python cv2 unblur 
Python :: flask tutorial 
Python :: how to pass two arg django filters 
Python :: __floordiv__ 
Python :: py random.sample 
Python :: git clone in python to tmp directory 
ADD CONTENT
Topic
Content
Source link
Name
5+4 =