Logo
Explore Help
Register Sign In
fengqi/lv_micropython
1
0
Fork 0
You've already forked lv_micropython
Code Issues Pull Requests 1 Actions Packages Projects Releases Wiki Activity
lv_micropython/tests/basics/set_update.py

8 lines
101 B
Python
Raw Permalink Normal View History

Implemented set.update
2014-01-12 19:39:48 +00:00
s = {1}
s.update()
Modify set tests to print sorted sets directly instead of creating temporary lists and sorting those in-place
2014-04-07 05:00:03 +01:00
print(s)
Implemented set.update
2014-01-12 19:39:48 +00:00
s.update([2])
Modify set tests to print sorted sets directly instead of creating temporary lists and sorting those in-place
2014-04-07 05:00:03 +01:00
print(sorted(s))
Implemented set.update
2014-01-12 19:39:48 +00:00
s.update([1,3], [2,2,4])
Modify set tests to print sorted sets directly instead of creating temporary lists and sorting those in-place
2014-04-07 05:00:03 +01:00
print(sorted(s))
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 168ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API