DataStructure Notes.pdf
16.9 MB
Complete 100 ๐ Reaction & We'll share Python Handwritten Notes ๐
๐293โค18โคโ๐ฅ10๐ฅ8๐3๐1๐1๐1
--- Do you like me Source Code ---
import tkinter as tk
import random
def show_popup():
popup = tk.Toplevel(root)
popup.title("Popup")
label = tk.Label(popup, text="Thanks for Accepting")
label.pack(padx=20, pady=20)
def move_button(event):
x = random.randint(0, 350)
y = random.randint(0, 350)
no_button.place(x=x, y=y)
root = tk.Tk()
root.title("instagram: @python.coder_")
root.geometry("400x400")
question_label = tk.Label(root, text="Do you like me?")
question_label.pack(pady=20)
yes_button = tk.Button(root, text="Yes", command=show_popup)
yes_button.pack()
no_button = tk.Button(root, text="No")
no_button.pack()
no_button.bind("<Enter>", move_button)
root.mainloop()
import tkinter as tk
import random
def show_popup():
popup = tk.Toplevel(root)
popup.title("Popup")
label = tk.Label(popup, text="Thanks for Accepting")
label.pack(padx=20, pady=20)
def move_button(event):
x = random.randint(0, 350)
y = random.randint(0, 350)
no_button.place(x=x, y=y)
root = tk.Tk()
root.title("instagram: @python.coder_")
root.geometry("400x400")
question_label = tk.Label(root, text="Do you like me?")
question_label.pack(pady=20)
yes_button = tk.Button(root, text="Yes", command=show_popup)
yes_button.pack()
no_button = tk.Button(root, text="No")
no_button.pack()
no_button.bind("<Enter>", move_button)
root.mainloop()
๐65โค13๐ฅ5๐ค2๐ฅฐ1๐1
- ๐ Python Logo Source Code๐ -
import turtle
t = turtle.Turtle()
s = turtle.Screen()
s.bgcolor("black")
t.speed(10)
t.pensize(2)
t.pencolor("white")
def s_curve():
for i in range(90):
t.left(1)
t.forward(1)
def r_curve():
for i in range(90):
t.right(1)
t.forward(1)
def l_curve():
s_curve()
t.forward(80)
s_curve()
def l_curve1():
s_curve()
t.forward(90)
s_curve()
def half():
t.forward(50)
s_curve()
t.forward(90)
l_curve()
t.forward(40)
t.left(90)
t.forward(80)
t.right(90)
t.forward(10)
t.right(90)
t.forward(120) #on test
l_curve1()
t.forward(30)
t.left(90)
t.forward(50)
r_curve()
t.forward(40)
t.end_fill()
def get_pos():
t.penup()
t.forward(20)
t.right(90)
t.forward(10)
t.right(90)
t.pendown()
def eye():
t.penup()
t.right(90)
t.forward(160)
t.left(90)
t.forward(70)
t.pencolor("black")
t.dot(35)
def sec_dot():
t.left(90)
t.penup()
t.forward(310)
t.left(90)
t.forward(120)
t.pendown()
t.dot(35)
t.fillcolor("#306998")
t.begin_fill()
half()
t.end_fill()
get_pos()
t.fillcolor("#FFD43B")
t.begin_fill()
half()
t.end_fill()
eye()
sec_dot()
def pause():
t.speed(2)
for i in range(100):
t.left(90)
pause()
import turtle
t = turtle.Turtle()
s = turtle.Screen()
s.bgcolor("black")
t.speed(10)
t.pensize(2)
t.pencolor("white")
def s_curve():
for i in range(90):
t.left(1)
t.forward(1)
def r_curve():
for i in range(90):
t.right(1)
t.forward(1)
def l_curve():
s_curve()
t.forward(80)
s_curve()
def l_curve1():
s_curve()
t.forward(90)
s_curve()
def half():
t.forward(50)
s_curve()
t.forward(90)
l_curve()
t.forward(40)
t.left(90)
t.forward(80)
t.right(90)
t.forward(10)
t.right(90)
t.forward(120) #on test
l_curve1()
t.forward(30)
t.left(90)
t.forward(50)
r_curve()
t.forward(40)
t.end_fill()
def get_pos():
t.penup()
t.forward(20)
t.right(90)
t.forward(10)
t.right(90)
t.pendown()
def eye():
t.penup()
t.right(90)
t.forward(160)
t.left(90)
t.forward(70)
t.pencolor("black")
t.dot(35)
def sec_dot():
t.left(90)
t.penup()
t.forward(310)
t.left(90)
t.forward(120)
t.pendown()
t.dot(35)
t.fillcolor("#306998")
t.begin_fill()
half()
t.end_fill()
get_pos()
t.fillcolor("#FFD43B")
t.begin_fill()
half()
t.end_fill()
eye()
sec_dot()
def pause():
t.speed(2)
for i in range(100):
t.left(90)
pause()
๐69โค12๐ฅ9โคโ๐ฅ4๐2๐1
-------- Python Code ------------
( Are you idiot - ( Yes/No )
๐๐๐๐๐๐๐๐๐๐๐๐
import tkinter as tk
import random
def show_popup():
popup = tk.Toplevel(root)
popup.title("Popup")
label = tk.Label(popup, text="Thanks for Accepting")
label.pack(padx=20, pady=20)
def move_button(event):
x = random.randint(0, 350)
y = random.randint(0, 350)
no_button.place(x=x, y=y)
root = tk.Tk()
root.title("@python.coder_")
root.geometry("400x400")
question_label = tk.Label(root, text="Are you idiot ?")
question_label.pack(pady=20)
yes_button = tk.Button(root, text="Yes", command=show_popup)
yes_button.pack()
no_button = tk.Button(root, text="No")
no_button.pack()
no_button.bind("<Enter>", move_button)
root.mainloop()
( Are you idiot - ( Yes/No )
๐๐๐๐๐๐๐๐๐๐๐๐
import tkinter as tk
import random
def show_popup():
popup = tk.Toplevel(root)
popup.title("Popup")
label = tk.Label(popup, text="Thanks for Accepting")
label.pack(padx=20, pady=20)
def move_button(event):
x = random.randint(0, 350)
y = random.randint(0, 350)
no_button.place(x=x, y=y)
root = tk.Tk()
root.title("@python.coder_")
root.geometry("400x400")
question_label = tk.Label(root, text="Are you idiot ?")
question_label.pack(pady=20)
yes_button = tk.Button(root, text="Yes", command=show_popup)
yes_button.pack()
no_button = tk.Button(root, text="No")
no_button.pack()
no_button.bind("<Enter>", move_button)
root.mainloop()
๐62โค20๐ฅ8๐6๐5๐ข2
python Interview Questions ๐ (1).pdf
734.5 KB
Don't forget to React โค๏ธ to this msg if you want more content Like this ๐
โค125๐42๐ฅ6๐5๐4
Important [ Python Built-in Methods ] {CheatSheet}.pdf
304.4 KB
Don't forget to React โค๏ธ to this msg if you want more content Like this ๐
โค92๐15๐5
TCS-Coding-Programming-Questions (1) (1).pdf
416.5 KB
Don't forget to React โค๏ธ to this msg if you want more content Like this ๐
โค69๐12๐ฅ2๐ฑ2
python interview questions and answers.pdf
269.9 KB
React โฅ๏ธ for more content like this ๐
โค58๐12๐คฉ5๐ฅ4๐2๐1
Python Handwritten Notes PDF Guide.pdf
32.3 MB
Don't forget to React โค๏ธ to this msg if you want more content Like this ๐
โค152๐22๐ฅฐ5๐ฅ2
50 JavaScript Interview Questions (1).pdf
84.4 KB
Don't forget to React โค๏ธ to this msg if you want more content Like this ๐
โค68๐8๐6
- 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)
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)
โค56๐5๐ค1
Want to Join Free Workshop on Cyber Security, Data Science & Full Stack Development ?
Anonymous Poll
47%
Yes ๐
53%
Yes ++ How to join Free ?
โ ๏ธ ATTENTION PEOPLE โ ๏ธ
Dear Students,
Are you ready to start your career in one of the most in-demand tech fields?
Join our 2-Day FREE Weekend Workshop on:
--> Cyber Security
--> Data Science
--> Full Stack Development
๐ Get:
โ Internship Chance
โ E-Certificate (Recog.)
โ Hackathon Challenges
โ Scholarship Opportunities
โ Limited Seats! Donโt miss this opportunity to kickstart your tech career.
๐ฒ Register now & be future-ready!
Join here Free
๐๐
https://forms.gle/J9yFdKT53P1KQWESA
Hurry up Students ๐
Dear Students,
Are you ready to start your career in one of the most in-demand tech fields?
Join our 2-Day FREE Weekend Workshop on:
--> Cyber Security
--> Data Science
--> Full Stack Development
๐ Get:
โ Internship Chance
โ E-Certificate (Recog.)
โ Hackathon Challenges
โ Scholarship Opportunities
โ Limited Seats! Donโt miss this opportunity to kickstart your tech career.
๐ฒ Register now & be future-ready!
Join here Free
๐๐
https://forms.gle/J9yFdKT53P1KQWESA
Hurry up Students ๐
โค12๐ฅ1