Task
Write a function that will return the count of distinct case-insensitive alphabetic characters and numeric digits that occur more than once in the input string.
#python
Write a function that will return the count of distinct case-insensitive alphabetic characters and numeric digits that occur more than once in the input string.
#python
Task
Implement a difference function, which subtracts one list from another. It should remove all values from list a, which are present in list b keeping their order.
#python
Implement a difference function, which subtracts one list from another. It should remove all values from list a, which are present in list b keeping their order.
#python
Task
Create a function that takes a string of 10 digits and returns a string of those digits in the form of a phone number.
#python
Create a function that takes a string of 10 digits and returns a string of those digits in the form of a phone number.
#python
Task
You're given a list. The list is either entirely comprised of odd integers or entirely comprised of even integers except for a single integer. Create a function that takes the list as an argument and returns this "outlier".
#python
You're given a list. The list is either entirely comprised of odd integers or entirely comprised of even integers except for a single integer. Create a function that takes the list as an argument and returns this "outlier".
#python
Task
You're given a word. Your job is to return the middle character of the word. If the word's length is odd, return the middle character. If the word's length is even, return the middle 2 characters.
#python
You're given a word. Your job is to return the middle character of the word. If the word's length is odd, return the middle character. If the word's length is even, return the middle 2 characters.
#python
Task
An isogram is a word that has no repeating letters. Implement a function that determines whether a string is an isogram. Ignore letter case.
#python
An isogram is a word that has no repeating letters. Implement a function that determines whether a string is an isogram. Ignore letter case.
#python
Task
Create a function to replace every letter of a string with its position in the alphabet. If anything in the text isn't a letter, ignore it.
#python
Create a function to replace every letter of a string with its position in the alphabet. If anything in the text isn't a letter, ignore it.
#python
🧐 What Python 3.10 release has brought to us?
* Pattern matching
* Parenthesized context managers
* Length checking for
* Various
and many many more...
🔗 Here's a full changelog in case you missed it
#python
* Pattern matching
* Parenthesized context managers
* Length checking for
zip()* Various
typing improvementsand many many more...
🔗 Here's a full changelog in case you missed it
#python
🧐 What Python 3.11 release has brought to us?
* Efficiency improvements
* Exception groups
* New module:
* Improved error locations in tracebacks
* New
and many many more...
🔗 Here's a full changelog in case you missed it
#python
* Efficiency improvements
* Exception groups
* New module:
tomllib* Improved error locations in tracebacks
* New
typing featuresand many many more...
🔗 Here's a full changelog in case you missed it
#python
🧐 What Python 3.12 release has brought to us?
* New
* New grammar features in f-strings
* Interpreter improvements
* Improvements in the standard library
and many many more...
🔗 Here's a full changelog in case you missed it
#python
* New
type statement* New grammar features in f-strings
* Interpreter improvements
* Improvements in the standard library
and many many more...
🔗 Here's a full changelog in case you missed it
#python
🔋 19 "dead batteries" (outdated standard library modules) will be removed in Python 3.13
🔉
👨💻
🤫
🤔
✉️
🪟
📁
📰
🎧
📏
🔐
👴
#python
🔉
aifc, chunk, sunau — to read/write AIFF, Sun AU and other outdated file formats
🎚audioop — some operations on sound fragments👨💻
cgi, cgitb — support for Common Gateway Interface (CGI) scripts🤫
crypt — an interface to the crypt routine🤔
imghdr, sndhdr — to guess some image/sound file formats from the first n bytes of a file✉️
mailcap — assist in handling a file attachment in an email🪟
msilib — creation of .msi and .cab files📁
nis — support for an old NIS/YP directory service protocol📰
nntplib — the client side of the Network News Transfer Protocol🎧
ossaudiodev — access to the Open Sound System audio interface📏
pipes — to pipe the input of a command into the output of another one🔐
spwd — non-standard access to the Unix shadow password DB☎️ telnetlib — implementation of the Telnet protocol👴
uu, xdrlib — support for binary encoding formats from 1980s#python