update
This commit is contained in:
		
							
								
								
									
										13
									
								
								2022.03.16_frequently_used_python_package/math_example.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								2022.03.16_frequently_used_python_package/math_example.py
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| import math | ||||
| print(math.pi) | ||||
| print(math.e) | ||||
| print(math.exp(1)) | ||||
| print(math.cos(math.pi)) | ||||
| print(math.sqrt(2), '\n') | ||||
|  | ||||
| import numpy as np | ||||
| print(np.pi) | ||||
| print(np.e) | ||||
| print(np.exp(1)) | ||||
| print(np.cos(np.pi)) | ||||
| print(np.sqrt(2)) | ||||
		Reference in New Issue
	
	Block a user