首页 > 其他分享 >Sololearn website big changes All In One

Sololearn website big changes All In One

时间:2023-04-29 11:11:15浏览次数:53  
标签:website www com Sololearn https xgqfrms print changes

Sololearn website big changes All In One

Learn Python

old version

Jump to our best Python course!

This old version is about to go on permanent vacation.

这个旧版本即将永久休假

image

https://www.sololearn.com/learning/1158

new version

image

https://www.sololearn.com/learn/courses/python-intermediate

demos

Tuple Unpacking / 元组结构

numbers = (1, 2, 3)
a, b, c = numbers
print(a)
print(b)
print(c)
# swap
x, y = [1, 2]
x, y = y, x

print(x)
print(y)
a, b, *c, d = [1, 2, 3, 4, 5, 6, 7, 8, 9]
print(a)
print(b)
print(c)
print(d)

image

https://www.sololearn.com/learn/courses/python-intermediate/lesson/912154711?p=4

(

标签:website,www,com,Sololearn,https,xgqfrms,print,changes
From: https://www.cnblogs.com/xgqfrms/p/17363435.html

相关文章