12 lines
192 B
Python
12 lines
192 B
Python
|
|
from math import sin
|
||
|
|
import random
|
||
|
|
print("sin(0) = {}".format(sin(0)))
|
||
|
|
#---
|
||
|
|
if random.random() > 0.25:
|
||
|
|
print("Large outcome")
|
||
|
|
else:
|
||
|
|
print("Small result")
|
||
|
|
A = 100
|
||
|
|
B = A / 10
|
||
|
|
C = B * 20
|