π2β€1
Get Public IP Address Using Python π
import requests
def get_public_ip():
url = 'https://api.ipify.org?format=json'
response = requests.get(url)
response.raise_for_status()
ip_data = response.json()
return ip_data
if __name__ == "__main__":
public_ip = get_public_ip()
print(f"Public IP Address: {public_ip}")
Don't Forget to give reactionsβ€οΈ
β€3π₯3
π² Quiz 'Python - Weekly Quiz Challenge π€'
π 6 questions Β· β± 30 sec
π 6 questions Β· β± 30 sec
β€1π1
π Top results in the quiz 'Python - Weekly Quiz Challenge π€'
π 6 questions
β± 30 seconds per question
π€ 58 people took the quiz
π₯ @Alexpp83 β 6 (45.9 sec)
π₯ @madhav_lakhotia β 6 (51.5 sec)
π₯ @Aung25200 β 6 (54.6 sec)
4. @hatehackers β 6 (57.8 sec)
5. @Ridhor97 β 6 (1 min 5 sec)
6. @AJEEBORLAH β 5 (34.4 sec)
7. Manzil β 5 (50 sec)
8. Md Keramot Ullah Safi β 5 (53.8 sec)
9. @R_sama_2017 β 5 (1 min 2 sec)
10. @Salman_1903011 β 5 (1 min 11 sec)
@python_programming_42 β¨
#python #programming #quiz
π 6 questions
β± 30 seconds per question
π€ 58 people took the quiz
π₯ @Alexpp83 β 6 (45.9 sec)
π₯ @madhav_lakhotia β 6 (51.5 sec)
π₯ @Aung25200 β 6 (54.6 sec)
4. @hatehackers β 6 (57.8 sec)
5. @Ridhor97 β 6 (1 min 5 sec)
6. @AJEEBORLAH β 5 (34.4 sec)
7. Manzil β 5 (50 sec)
8. Md Keramot Ullah Safi β 5 (53.8 sec)
9. @R_sama_2017 β 5 (1 min 2 sec)
10. @Salman_1903011 β 5 (1 min 11 sec)
Top 10 Results of Yesterday's QuizποΈβ¨
@python_programming_42 β¨
#python #programming #quiz
β€5π₯°1
What does input() do in Python?
Anonymous Quiz
20%
Prints output
2%
Exits the program
74%
Takes user input
4%
Defines a variable
β€1π1π1
β€3π3
π² Quiz 'Python - Weekly Quiz Challenge π€'
π 5 questions Β· β± 30 sec
π 5 questions Β· β± 30 sec
β€2π₯1
π Top results in the quiz 'Python - Weekly Quiz Challenge π€'
π 5 questions
β± 30 seconds per question
π€ 56 people took the quiz
π₯ @Alexpp83 β 5 (27 sec)
π₯ @Imranyemon β 5 (40.4 sec)
π₯ @Bassel_6 β 5 (45.6 sec)
4. @Salman_1903011 β 4 (41.2 sec)
5. @AgnusTR β 4 (50.5 sec)
6. @Shojib_69 β 4 (1 min 14 sec)
7. @R_sama_2017 β 3 (27.1 sec)
8. @Mr_m1804 β 3 (27.5 sec)
9. Manzil β 3 (42.2 sec)
10. IVAR Narvaez β 3 (49.4 sec)
@python_programming_42 β¨
#python #programming #quiz
π 5 questions
β± 30 seconds per question
π€ 56 people took the quiz
π₯ @Alexpp83 β 5 (27 sec)
π₯ @Imranyemon β 5 (40.4 sec)
π₯ @Bassel_6 β 5 (45.6 sec)
4. @Salman_1903011 β 4 (41.2 sec)
5. @AgnusTR β 4 (50.5 sec)
6. @Shojib_69 β 4 (1 min 14 sec)
7. @R_sama_2017 β 3 (27.1 sec)
8. @Mr_m1804 β 3 (27.5 sec)
9. Manzil β 3 (42.2 sec)
10. IVAR Narvaez β 3 (49.4 sec)
Top 10 Results of Yesterday's QuizποΈβ¨
@python_programming_42 β¨
#python #programming #quiz
π4β€2π₯°1
Which of the following is used to create an iterator in Python?
Anonymous Quiz
14%
getitem()
9%
next()
41%
iter()
36%
All of the above
β€1π1
What is the output type of type(type) in Python?
Anonymous Quiz
53%
type
22%
class
16%
object
9%
str
β€2π1
Which built-in function is used to get the memory address of an object?
Anonymous Quiz
7%
hex()
45%
mem()
34%
id()
13%
loc()
β€1π1
https://youtu.be/f41jp_KQiGQ?si=XhQAi11MzhRQ4A88
Watch this videoπ, don't forget to like, comment, share and subscribe.π«΅π
π
Watch this videoπ, don't forget to like, comment, share and subscribe.π«΅π
π
Source Code: GithubYouTube
Build a Modern Unit Converter App in Python Tkinter | Full Project Demo
Build a Modern Unit Converter App in Python Tkinter | Full Project Demo
In this video, youβll learn how to build a modern and user-friendly Unit Converter Application using Python and Tkinter. This project is perfect for beginners who want to practice GUIβ¦
In this video, youβll learn how to build a modern and user-friendly Unit Converter Application using Python and Tkinter. This project is perfect for beginners who want to practice GUIβ¦
β€4π₯1
Python Programming pinned Β«https://youtu.be/f41jp_KQiGQ?si=XhQAi11MzhRQ4A88 Watch this videoπ, don't forget to like, comment, share and subscribe.π«΅π π Source Code: GithubΒ»