+ 1

I want to strengthen my python Basics Where Can I practice Questions

question practice for python

10th Feb 2024, 4:26 PM
Abhinav Singh
Abhinav Singh - avatar
6 Antworten
+ 6
Try the code coach under community section.
10th Feb 2024, 4:31 PM
Wong Hei Ming
Wong Hei Ming - avatar
+ 2
codewars.com
10th Feb 2024, 5:00 PM
Mohamed Beder Oumar
Mohamed Beder Oumar - avatar
+ 2
Gabi_kun :3 , My favorite Python basic is how names and values actually work. Sololearn doesn't teach it. This Ned Batchelder talk is a must-watch paradigm shifter for anyone coming to Python from another language. https://youtube.com/watch?v=_AEJHKGk9ns And his web page on the same topic. https://nedbatchelder.com/text/names.html
14th Feb 2024, 7:15 PM
Rain
Rain - avatar
+ 2
Rain I've read about reference counting but didn't know that it was called garbage collection, my english wasn't good enough to understand they are the same thing, I thought "garbage collection" were for other languages, I knew about the gc module that allows you to control the garbage collector of Python but still thought that Python doesn't use that, thanks for the text I wouldn't notice it if it wasn't because you
14th Feb 2024, 7:38 PM
Gabi_kun :3
Gabi_kun :3 - avatar
+ 1
Abhinav Singh , This search listed 8 different sites at the top of the page with tens, hundreds, or thousands of Python practice challenges each. https://duckduckgo.com/?q=python+code+challenge This article lists more. https://www.freecodecamp.org/news/the-10-most-popular-coding-challenge-websites-of-2016-fb8a5672d22f/
11th Feb 2024, 12:08 AM
Rain
Rain - avatar
+ 1
Once you understand the very basics of python you'll be fine, when I say the very basics I refer to the most basic things, not the most simple things, for example did you know that everything in a expression is no more than implicit calls to special methods with this format?: ".__<special_m ethod>__" 1 + 2 == (1).__add__(2) The python interactive console, repr(), dir() and help() are your best friends when learning python, repr() gets called by str() (if .__str__() is not defined) str() at the same time is implicitly called by print(), repr() is also implicitly called in the python interactive console, so you normally don't have to use it manually Also did you know that all classes are subclasses of the "object" built-in class? If you call object.__subclasses__() you gonna get all existent classes, even those of modules locals() and globals() built-in functions are great to understand how local and global scopes work
14th Feb 2024, 2:08 PM
Gabi_kun :3
Gabi_kun :3 - avatar