Nice to meet you, ma fren 🫡. Sorry, I ain't DEVing that much ✍️ , primarily due to the nature of maintaining Open Source projects 👷, while also gigging 💰. Anyways, stay humble like a bumblebee 🐝.
Frontend Web Developer -
Programming Content Creator -
60k+ Followers On Linkedin -
Open To Opportunities -
Follow me for the most amazing content related to Programming & Web Development 🚀
Nice to meet you, ma fren 🫡. Sorry, I ain't DEVing that much ✍️ , primarily due to the nature of maintaining Open Source projects 👷, while also gigging 💰. Anyways, stay humble like a bumblebee 🐝.
Thanks for sharing. I have added the python equivalent (assuming an array is a list in python for simplicity):
1) Find the max value in an array:
2) Remove duplicates from an array:
3) Generate a random number between 1 and 100:
4) Check if a string is a valid number:
Your method is not correct:
Probably you meant "Check if a string contains a number"?
python equivalent:
5) Get the current date and time:
6) Check if a variable is an array:
7) Check if a variable is an object:
8) Convert an array to a string:
9) Check if a variable is a function:
10) Convert an object to an array:
Depends on the type of the object. For example dict:
11) Count the occurrences of an element in an array:
12) Create a new object with a dynamic key and value:
13) Check if a string is a palindrome:
14) Get the the sum of all the numbers in an array
or
15) Get the current timestamp:
16) Check if a variable is null (None in python):
17) Check if a variable is undefined:
18) Find the minimum value in an array
19) Check if an array is empty:
20) Create a new array with a specified range of numbers:
This is amazing, Thanks a lot for sharing 🔥🙌
19 can be simplified to
not array.6 to
type(array) is listBTW in a python context array usually refers to numpy array rather than list.
Thanks for the heads up. Fixed!