👍1
Guess The Output?
my_list = [True, False, True, None, True]; print(any(my_list)); print(all(my_list))
my_list = [True, False, True, None, True]; print(any(my_list)); print(all(my_list))
Anonymous Quiz
2%
None , None
30%
Error
27%
False , True
30%
True , False
12%
True , True
Forwarded from Cᴏᴅᴇs Sɴɪᴘᴘᴇᴛs (Mᴜᴋᴇsʜ)
Tip : Use the zip() function to iterate over multiple iterables simultaneously
Example:
Benefits:
* Simplifies the process of iterating over multiple lists or tuples
* Ensures that the elements from corresponding lists are aligned
Language:
Jᴏɪɴ ᴜs :- @CodesSnippet
Example:
# Create two lists
names = ["John", "Mary", "Bob"]
ages = [30, 25, 40]
# Iterate over both lists using zip()
for name, age in zip(names, ages):
print(f"{name} is {age} years old.")
Benefits:
* Simplifies the process of iterating over multiple lists or tuples
* Ensures that the elements from corresponding lists are aligned
Language:
PythonJᴏɪɴ ᴜs :- @CodesSnippet
Forwarded from Cᴏᴅᴇs Sɴɪᴘᴘᴇᴛs (Mᴜᴋᴇsʜ)
📽 Web Automation and Scraping using Python - Udemy
✅ By: @Python_Codes_Pro
More likes => more courses 🫶
Courses link :- https://t.me/Python_Codes_Pro/434
✅ By: @Python_Codes_Pro
More likes => more courses 🫶
Courses link :- https://t.me/Python_Codes_Pro/434
❤1
Web Automation and Scraping using Python.zip
1.2 GB
📽 Web Automation and Scraping using Python - Udemy
✅ By: @Python_Codes_Pro
More likes => more courses 🫶
✅ By: @Python_Codes_Pro
More likes => more courses 🫶
👍3❤1
# Generate AI image with the input text
By : @mr_sukkun
for more visit : https://pypi.org/project/MukeshAPI/
pip install --upgrade MukeshAPI
from MukeshAPI import api
response = api.ai_image("cute boy pic")
#print(response)
with open("mukesh.jpg", 'wb') as f:
f.write(response)
print("image generated successfully")
By : @mr_sukkun
for more visit : https://pypi.org/project/MukeshAPI/
❤2🆒1
-Location of Mobile Number Code -
Jᴏɪɴ ᴜs :- @Python_Codes_Pro
Support group :- @python_group_pro
import phonenumbers
from phonenumbers import (timezone,geocoder,carrier)
number = input("Enter the phone number with country code : ")
# Parsing String to the Phone number
phoneNumber = phonenumbers.parse(number)
# printing the timezone using the timezone module
timeZone = timezone.time_zones_for_number(phoneNumber)
print(f"timezone : {timeZone}")
# printing the geolocation of the given number using the geocoder module
geolocation = geocoder.description_for_number(phoneNumber,"en")
print(f"location : {geolocation}")
# printing the service provider name using the carrier module
service = carrier.name_for_number(phoneNumber,"en")
print(f"service provider : {service}")
Jᴏɪɴ ᴜs :- @Python_Codes_Pro
Support group :- @python_group_pro
❤2👍2
In Which Python library is used in Data Science 🤔
Anonymous Quiz
65%
Pandas
22%
Django
4%
React
8%
Flask
Forwarded from PYTHON PROGRAMMING (</> ᴍᴜᴋᴇsʜ </>)
Python, Java , C Developed by:
Anonymous Quiz
24%
James Gosling, Guido Van Rossum, Dennis Ritchie
66%
Guido Van Rossum, James Gosling, Dennis Ritchie
10%
Dennis Ritchie, James Gosling, Guido Van Rossum
Forwarded from Cᴏᴅᴇs Sɴɪᴘᴘᴇᴛs (</> ᴍᴜᴋᴇsʜ </>)
Top 5 Coding Challenge Platforms for Programmers 👩💻🚀
1. LeetCode
- URL: https://leetcode.com
- Description: Enhance problem-solving skills with a vast collection of coding challenges on LeetCode.
2. HackerRank
- URL: https://www.hackerrank.com
- Description: HackerRank offers diverse coding challenges for algorithm, data structure, and language proficiency improvement.
3. CodeSignal
- URL: https://codesignal.com
- Description: CodeSignal provides coding challenges and assessments to enhance coding skills for interviews and practice.
4. Codewars
- URL: https://www.codewars.com
- Description: Codewars engages developers in creative problem-solving through kata challenges, fostering skill development.
5. Exercism
- URL: https://exercism.io
- Description: Exercism offers coding exercises in various languages, providing mentorship and community support.
All the best 👍👍
Jᴏɪɴ ᴜs :- @CodesSnippet
1. LeetCode
- URL: https://leetcode.com
- Description: Enhance problem-solving skills with a vast collection of coding challenges on LeetCode.
2. HackerRank
- URL: https://www.hackerrank.com
- Description: HackerRank offers diverse coding challenges for algorithm, data structure, and language proficiency improvement.
3. CodeSignal
- URL: https://codesignal.com
- Description: CodeSignal provides coding challenges and assessments to enhance coding skills for interviews and practice.
4. Codewars
- URL: https://www.codewars.com
- Description: Codewars engages developers in creative problem-solving through kata challenges, fostering skill development.
5. Exercism
- URL: https://exercism.io
- Description: Exercism offers coding exercises in various languages, providing mentorship and community support.
All the best 👍👍
Jᴏɪɴ ᴜs :- @CodesSnippet
👍2❤1
Forwarded from IGNOU Info Guidance update news (Si͟d शर्मा)