![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python练习
根据练习题,用python解决,给出答案,全是原创,练习题是查找的,但是答案是自己纯手写的
夏至LNN
虽然生活充满了苟且,但依然可以期待诗与远方
展开
-
【无标题】
python相关学习网址 python基础 pytest框架原创 2022-03-03 10:03:11 · 330 阅读 · 0 评论 -
python练习第二弹
python练习第二弹 #练习九九乘法表 def jiujiuChengFa(): temp2="" for i in range(1,10): temp = “” for j in range(1,i+1): temp1 = ij #print(temp1) t = str(temp1) #print(t) temp = temp+" “+str(j)+”"+str(i)+"="+t #print(temp) temp2 = temp2+" "+temp+"\r\n" print(temp2)原创 2021-07-05 10:34:54 · 63 阅读 · 0 评论 -
2021-04-20,python习题练习
python练习 1.#!/usr/bin/python #-- coding: UTF-8 -- #设置中文编码 #注意行缩进,否则执行时会报错 print(“自己练习python!”) #练习交换两个变量 a = “change” b = “mySelf” c = “342253” d = “hello_world_python” e = “We are happy.” #c= “abdba” def changeAB(a,b): print(“交换之前,第一个变量为:”+a+",第二个变量为:"+b)原创 2021-04-20 10:56:38 · 112 阅读 · 0 评论