PythonCoder Official
79.7K subscribers
224 photos
8 videos
92 files
98 links
• 𝗕𝗲𝘀𝘁 𝗽𝗹𝗮𝗰𝗲 𝗳𝗼𝗿 𝗣𝘆𝘁𝗵𝗼𝗻 𝗖𝗼𝗱𝗲𝗿𝘀 😀
• 𝗙𝗿𝗲𝗲 𝗣𝗿𝗼𝗴𝗿𝗮𝗺𝗺𝗶𝗻𝗴 𝗖𝗼𝘂𝗿𝘀𝗲𝘀 & 𝗧𝘂𝘁𝗼𝗿𝗶𝗮𝗹𝘀📒
• 𝗗𝗮𝘁𝗮 𝗦𝗰𝗶𝗲𝗻𝗰𝗲📊 | 𝗠𝗮𝗰𝗵𝗶𝗻𝗲 𝗟𝗲𝗮𝗿𝗻𝗶𝗻𝗴 | 𝗔𝗜 🤖
• 𝗗𝗮𝗶𝗹𝘆 𝗗𝗼𝘇𝗲 𝗼𝗳 𝗣𝗿𝗼𝗷𝗲𝗰𝘁𝘀 🧠
Download Telegram
Python Most Asked Interview Questions with Answers
84👍67🔥8👏7🥰6😁5🏆2
210👍110🔥25👏10❤‍🔥8🏆6👌5🙏3
190+ Python MCQ.pdf
2 MB
40👍28🥰5🔥4😁1
Indian Flag Source Code python.coder_.txt
1.3 KB
👍5422👏8👎6👌6🏆4😁1
Data Structures Notes 📝
👍9326🔥21🥰1
- Location of Mobile Number Code -

import phonenumbers
from phonenumbers import timezone
from phonenumbers import geocoder
from phonenumbers import 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("timezone : "+str(timeZone))

# printing the geolocation of the given number using the geocoder module
geolocation = geocoder.description_for_number(phoneNumber,"en")
print("location : "+geolocation)

# printing the service provider name using the carrier module
service = carrier.name_for_number(phoneNumber,"en")
print("service provider : "+service)
👍15346❤‍🔥18🔥15🥰8