'Outputting data to be to the same exponent
Im trying to output items in this print list to the same exponent, e-05, how would i go about this? GS_2 is a 1x3 matrix.
print("Local Strains")
print("\u03B5""\u2081",":",(GS_2.item((0))))
print("\u03B5""\u2082",":",(GS_2.item((1))))
print("\u03B3""\u2081\u2082",":",(GS_2.item((2))*2))
Output:
Local Strains
ε₁ : 1.3668784902631678e-05
ε₂ : -0.0002661566600858184
γ₁₂ : -0.0005809014657546858
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
