摘要:
在安装pip的出现异常提示: ERROR: Could not find a version that satisfies the requirement pillow (from versions: none) ERROR: No matching distribution found for p 阅读全文
摘要:
#母鸡三元一只,公鸡一元一只,小鸡0.5元一只,一百元全部买鸡,有多少种不同买法,分别是什么? count=0 for m_j in range(1,100//3): for g_j in range(1,100): for x_j in range(2,101,2): if(m_j+g_j+x_j 阅读全文
摘要:
# 乘法口诀 for x in range(1,10): for y in range(1,x+1): print(f'{y}x{x}={x*y}', end='\t') print() print('\n') # 加法口诀 for x in range(1,10): for y in range( 阅读全文
摘要:
import random #求随机能被3和5同时整除的数 num=random.randint(1,1000) if num % 3==0 and num % 5 ==0: print(f'数字{num}可以被3和5整除') elif num % 3 ==0: print(f'数字{num}可以被 阅读全文