rainyear / python3-in-one-pic Goto Github PK
View Code? Open in Web Editor NEWLearn python3 in one picture.
Home Page: https://git.io/Coo-py3
License: MIT License
Learn python3 in one picture.
Home Page: https://git.io/Coo-py3
License: MIT License
class Bird:
s/b class Bird(Animal):
I would suggest creating a dev branch that you use to work on examples. Once they're one, you can merge them into the master branch.
Class (OOP) > Override > class Bird. It must be "class Bird(Animal)".
The label for the for cycle in the image is partially hidden (only the bottom half of the word "for" is shown).
>>> st = set(['s', 'e', 'T'])
>>> st
{'s', 'T', 'e'}
>>> st.add('t')
>>> st
{'s', 'T', 't', 'e'}
>>> st.add('t')
>>> st
{'s', 'T', 't', 'e'}
>>> st.update(['!', '!'])
>>> st
{'s', 'T', 't', '!', 'e'}
>>> st.discard('t')
>>> st
{'s', 'T', '!', 'e'}
>>> st.remove('T')
>>> st
{'s', '!', 'e'}
>>> st.pop()
's'
>>> st
{'!', 'e'}
>>>
Why is the slicing example so bizarre? I assume this was intended for an English speaking audience (given everything else is in english), so I'm not sure a japanese slicing example does any more than show unicode support and confuse the reader in terms of actual slicing mechanics.
While it is correct in the notebook, the results are incorrect in the PNG.
Should be: args ('Python', 'Javascript')
Displays in PNG as: args('Python', 'C')
Missing the following flow control structures:
(x for x in "1234")
Uhm.. png is nice but not as searchable, so how about a PDF version 🤠
https://docs.python.org/3/tutorial/datastructures.html#list-comprehensions
[x**2 for x in range(10)]
Not sure if this would go better under Pythonic
or Lists
hi!
it is a nice project!
I love it' and I want to print it in A4 size, is it possible anyway?
(part after part)
Multi-line comments are an import part of comments and documentation.
思维导图不适合代码显示,而且图太大不利于显示,事实上,现在已经有更好的显示了,那种“cheat sheet”形式。
Actual:
set(['s', 'e', 'T'])
Expected:
{'s', 'e', 'T'}
Under String > Length,
## Length
print(len(s1)) # 2
Actually returns 6
instead of 2
There is a spelling mistake in comprehensions (for list, dict, etc) where it is labelled "comperensions".
Shows "arch Path" only
Hey. I am very thankful for you having done this. Please I hope to see it completed soon. Thanks
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.