<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[请认真编程的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/m0_48427586</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; m0_48427586]]></copyright><item><title><![CDATA[Python学习笔记（2）——异常处理]]></title><link>https://blog.youkuaiyun.com/m0_48427586/article/details/107402715</link><guid>https://blog.youkuaiyun.com/m0_48427586/article/details/107402715</guid><author>m0_48427586</author><pubDate>Fri, 17 Jul 2020 10:45:11 +0800</pubDate><description><![CDATA[基本使用
try:
    &lt;语句块1&gt;
except&lt;异常类型&gt;:#当语句块1异常时
    &lt;语句块2&gt;

高级使用
try:
    &lt;&lt;语句块1&gt;&gt;
except&lt;异常类型&gt;:#当语句块1异常时
    &lt;&lt;语句块2&gt;&gt;
else:#当try能执行时
    &lt;语句块3&gt;
finally:#无论是否异常，一定执行
    &lt;语句块4&gt;


...]]></description><category></category></item><item><title><![CDATA[Python学习笔记（1）—— Python字符串的常用处理方法（函数）]]></title><link>https://blog.youkuaiyun.com/m0_48427586/article/details/107362421</link><guid>https://blog.youkuaiyun.com/m0_48427586/article/details/107362421</guid><author>m0_48427586</author><pubDate>Wed, 15 Jul 2020 16:32:04 +0800</pubDate><description><![CDATA[p.s “方法”特指 a.b() 风格中的函数 b()
1、str.upper()和str.lower()
功能：将字符串变为全大写或全小写
举例：
&gt;&gt;&gt; print('A1b2c3'.upper())
A1B2C3
&gt;&gt;&gt; print('A1b2c3'.lower())
a1b2c3

2、str.split（sep）
功能：将字符串变为列表，字符串为sep分隔
举例：
&gt;&gt;&gt; 'A,b,c'.split()
['A,b,c']
&gt;&gt;&g]]></description><category></category></item><item><title><![CDATA[Python练习笔记（1）——用Python绘出斜三角形]]></title><link>https://blog.youkuaiyun.com/m0_48427586/article/details/107313246</link><guid>https://blog.youkuaiyun.com/m0_48427586/article/details/107313246</guid><author>m0_48427586</author><pubDate>Mon, 13 Jul 2020 11:44:01 +0800</pubDate><description><![CDATA[用Python绘出斜三角形
temp=input("input a number:")
num=int(temp)
while num:
    i=num - 1
    while i:
        print('',end = ' ')
        i = i - 1
    j = num
    while j:
        print('*',end = '')
        j = j - 1
    print()
    num = num - 1

效果

重点：

...]]></description><category></category></item></channel></rss>