PythonNotes
92.4K subscribers
123 photos
118 files
12 links
Best Place for Learning Python Programming

Free Notes of Programming languages 👇
• Python • Java • JavaScript
• C • C++

Free Courses & Job Updates ☑️🔎🆓
Download Telegram
Top 150 Core Java Interveiw Questions and Answers (1).pdf
111.6 KB
Important Java Interview Questions with Answers
👍5217🔥9
Indian Flag Source Code .txt
1.3 KB
👍412110🔥5🤩1
Java Programs-.pdf
5.3 MB
72👍509🤩9🔥5
Which of the following is a Python tuple?
Anonymous Quiz
47%
( 1,2,3 )
29%
{ 1,2,3 }
8%
{ }
15%
[ 1,2,3 ]
👍21847💯24🔥23🤩197
Create Graphical User Interfaces with Python.pdf
11.3 MB
GUI Programming with Python 💻📑
👍11627🔥15🤩15💯1
HR(interview question) .pdf
221.3 KB
60👍50🤩13🔥5💯1
Ganesh ji.py
3.2 KB
Ganesh Ji Source Code
👍7037🔥175
Output of this Python Code 👇
>>> print ( ++5 )
Anonymous Quiz
29%
5
35%
6
36%
Error
👍222🔥4036💯1815🤩13
SQL Cheat sheet (1).pdf
4.7 MB
👍1514123🔥21🤩14
Coding Games In Python .pdf
30.5 MB
79👍7341🔥37🤩17💯11
Output of this Python Code 👇
print ( 3 + "3" )
Anonymous Quiz
40%
33
14%
6
46%
Error
👍198💯3833🔥18🤩167
SIMPLE_MARIO_GAME_IN_PYTHON_WITH_SOURCE_CODE (2).zip
15.1 MB
Mario Game Source Code 💻
👍10727🔥2018🤩9
JavaScript Notes 🔥.pdf
484.8 KB
👍60💯3022🔥18🤩136
Python.pdf
237.5 KB
👍4416💯7🔥5
--- Do you love 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: @pythonnotes1")
root.geometry("400x400")

question_label = tk.Label(root, text="Do you love 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()
👍14940🔥8🤩64
---- Rose Source Code ----

import turtle

def draw_flower():
    turtle.penup()
    turtle.left(90)
    turtle.fd(200)
    turtle.pendown()
    turtle.right(90)

    # Flower base
    # by : @pythonnotes1
    turtle.fillcolor("red")
    turtle.begin_fill()
    turtle.circle(10, 180)
    turtle.circle(25, 110)
    turtle.left(50)
    turtle.circle(60, 45)
    turtle.circle(20, 170)
    turtle.right(24)
    turtle.fd(30)
    turtle.left(10)
    turtle.circle(30, 110)
    turtle.fd(20)
    turtle.left(40)
    turtle.circle(90, 70)
    turtle.circle(30, 150)
    turtle.right(30)
    turtle.fd(15)
    turtle.circle(80, 90)
    turtle.left(15)
    turtle.fd(45)
    turtle.right(165)
    turtle.fd(20)
    turtle.left(155)
    turtle.circle(150, 80)
    turtle.left(50)
    turtle.circle(150, 90)
    turtle.end_fill()

    # Petal 1
    turtle.left(150)
    turtle.circle(-90, 70)
    turtle.left(20)
    turtle.circle(75, 105)
    turtle.setheading(60)
    turtle.circle(80, 98)
    turtle.circle(-90, 40)

    # Petal 2
    turtle.left(180)
    turtle.circle(90, 40)
    turtle.circle(-80, 98)
    turtle.setheading(-83)

    # Leaves 1
    turtle.fd(30)
    turtle.left(90)
    turtle.fd(25)
    turtle.left(45)
    turtle.fillcolor("green")
    turtle.begin_fill()
    turtle.circle(-80, 90)
    turtle.right(90)
    turtle.circle(-80, 90)
    turtle.end_fill()
    turtle.right(135)
    turtle.fd(60)
    turtle.left(180)
    turtle.fd(85)
    turtle.left(90)
    turtle.fd(80)

    # Leaves 2
    turtle.right(90)
    turtle.right(45)
    turtle.fillcolor("green")
    turtle.begin_fill()
    turtle.circle(80, 90)
    turtle.left(90)
    turtle.circle(80, 90)
    turtle.end_fill()
    turtle.left(135)
    turtle.fd(60)
    turtle.left(180)
    turtle.fd(60)
    turtle.right(90)
    turtle.circle(200, 60)

    turtle.done()

# Call the function to draw the flower
draw_flower()
👍12626🤩9🔥8💯4