apollozhu / 21daylearnpython Goto Github PK
View Code? Open in Web Editor NEWCode in "21天学通Python" published by the "Publishing House of Electronics Industry"(电子工业出版社)
Code in "21天学通Python" published by the "Publishing House of Electronics Industry"(电子工业出版社)
I didn't have time to full proof that it works properly.
You can try it out and write feedback below
Another strange description, file is named Person.py
分别输出这个人的年龄、体重是否达标(体重范围为身高-110+20,身高-110+20)
This is so confusing...
设有以下信息字符串:
myseq="""[a:1,b:2,c:3]
[a:3,b:3,c:8]
[a:7,c:2:m:7,r:4]
[a:2,c:4:m:6,r:4]
[a:3,b:2,c:7,o:5]"""
现要求去除其中重复的关键字,如上例的处理结果为:
'[a:1,b:2,c:3]', '[a:7,c:2:m:7,r:4]', '[a:3,b;2,c:7,o:5]'
【提示】建议尽量使用列表推导来处理,提取每个行中的键值,然后去除重复。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.