IP屬地:上海
u = [1,2,3,4,5,6,7,8,9] for row in u: for col in range(1,row+1): print('...
row =1 while row <10: col =1 while col<=row: print ('%d * %d = %d' % (...
畫: * ** *** **** ***** 乘法: row = 0 while row < 5: row += 1 print ("*...
#石頭剪刀布 import random #玩家輸入 player = 0 while player!='石頭' and player!='剪刀...
f=int(input('數(shù)字1')) l=int(input('數(shù)字2')) result=f if f>l: f=l l=result re...
F = int(input("數(shù)字1:")) L = int(input("數(shù)字2:")) S = F if F > L:#排列2個(gè)值的順序 ...
price=float(input("單價(jià)")) weight=float(input("重量")) money=price*weight pr...