Hi Team,
Type Error in doc for Lists can also store heterogenous items along with
homogenous items.
[image: image.png]
Kind Regards,
Ajay Takur
✆ : +91-8801282523
`````````````````````````````
Use what you know. Do what you've always imagined.
Hello -
I wish to bring to your kind notice a bug in Python.
Given any matrix X. While trying to compute the CoVariance matrix of that
matrix X, Python does NOT compute the CoVarianceof the given matrix X.
Instead, Python comptes the CoVariance of the Transpose of the given matrix
X.
This appears to be a bug in Python.
Please refer to the below website for a given matrix and what the result
should be after the computation of it's CoVariance. And I have provided a
screenshot of what Python is returning.
https://www.itl.nist.gov/div898/handbook/pmc/section5/pmc541.htm
Please let me know if you have any questions.
Regards,
Prakash
In python 3.10.1 documentation(The Python Tutorial -> An Informal introduction to Python -> Lists)
[cid:image003.png@01D803C1.44B36A90]
Maybe it should be replaced by “deep copy” ?
Here is my try:
[cid:image005.png@01D803C1.44B36A90]
Section 4.2, More Control Flow, depends on 'collections' that have NOT been
introduced yet. (The current doc. They are introduced in earlier versions.)
I can no longer make headway here. Am now looking for better docs.
--
Martin Rinehart
Frontend Engineering <http://martinrinehart.com>
(845) 610-5597
Learning python, "Informal Intro" 3.1.1, Numbers.
The text says "do floor division
<https://docs.python.org/3/glossary.html#term-floor-division> and get an
integer result (discarding any fractional result)"
I've tested and it appears that floor division rounds down to the nearest
integer. (Above is not true for negative values with fractional parts.
3.333 rounds to 3, -3.333 rounds to -4.)
--
Martin Rinehart
Frontend Engineering <http://martinrinehart.com>
(845) 610-5597
https://docs.python.org/3/library/operator.html
says
"operator.add ... Return a + b, for *a* and *b* numbers "
and
"operator.mul... Return a * b, for *a* and *b* numbers"
but both of those also work on strings [0] (and perhaps other types):
>>> import operator
>>> operator.add('s', 't')
'st'
>>> operator.mul('a', 3)
'aaa'
>>> operator.mul(3, 'b')
'bbb'
[0] "Strings can be concatenated (glued together) with the + operator, and
repeated with *"
>>> 3 * 'un' + 'ium''unununium'
https://docs.python.org/3/tutorial/introduction.html#strings
Dear Python Docs Maintainers,
I've noticed that a few of the links on
https://wiki.python.org/moin/BeginnersGuide
Point to the same domain name, and that several are serving up websites
with broken TLS certificates:
- HackInScience - free and open source platform.
- High School Technology Services - for general Python
Both seem to route to the same domain. Just FYI.
Also, I was wondering if you'd consider adding Inspired Python to your
list of beginner and Intermediate/Advanced Learners' pages?
https://www.inspiredpython.com
It's a free site dedicated to teaching Python and software engineering
concepts in-depth.
Incidentally, the section I have on the new Structural Pattern Matching
feature in 3.10 might be usefully linked to elsewhere, as I know it's a
complex subject people are struggling with:
https://www.inspiredpython.com/course/pattern-matching/mastering-structural…
Thanks in advance,
Mickey.
Don’t take this wrong I really love working with Python but since I updated to 3.10.1 I receive errors from the programs that I’m using, ( PyCharm, Visual Studio Code and Visual Studio 2022) they all complain that this version is invalid plus trying to use pip is no longer seen by the program, if I try something like ( pip install {any program} I receive an error that pip and install are invalid. Do I need to go back to the old version of Python, I hope you have a fix for this, I’m lost on this one.
Thank you for your help.
Ronald W. Massey
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows
Dear Sir/ Mam
Greetings of the day
My name is Ganesh Vispute from india. I want to learn and become a master
in python. Because I like this language . So kindly guide me for
learning python and give me your valuable suggestions .
Waiting for your valuable reply
Thank you so much
GANESH VISPUTE