Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

Jupyter notebook 李采倪.ipynb

12 views
Kernel: Anaconda (Python 3)
import random >>> random.randint(0,99)
62
def score(姓名,,,): print(姓名) 平均=(++)/3 return 平均 score("無",92,87,100)
93.0
import math a = 16 b=math.sqrt(a) print(b)
4.0
ia = input("請輸入")
請輸入12
a=4 b=8 c=a**b print(c)
65536
開獎號 = range(1,50) print("本期大樂透開獎號碼:") for n in range(1,8): 選號 = random.choice(開獎號) print(選號)
本期大樂透開獎號碼: 18 44 48 45 1 4 26
print("hh")
hh
def write(): print('你好') write()
你好
import random it = [1,2,3,4,5,6,8,9,10,11,12,13,14,15] random.shuffle(it)
if 6 == 2: print("你好") else: print("歡迎")
歡迎
1