ProgrammingwithSaurav
Kanalga Telegram’da o‘tish
I am helping you to learn programming I provide Short Notes of Programming Languages Join Our Group And Subscribe For Python Turtle Programs
Ko'proq ko'rsatish7 001
Obunachilar
-424 soatlar
-307 kun
-11330 kun
Postlar arxiv
🚀 Ready to master HTML? 🚀
Get Premium E-Book ‘Master HTML: A Beginner’s Guide'
It Contains:
⭐️ Handwritten notes
⭐️ HTML cheatsheet
⭐️ Complete PDF of all HTML tags
⭐️ Beginner-friendly guide
Bonus :
⭐️ 100+ interview questions
⭐️ 25 HTML & CSS projects
🎉 Limited Time offer! Don't wait!
https://rzp.io/l/programmersworld
Get It now👆👆
Register now for internship and registrations are free : https://forms.gle/CLcRSKRoyCd1WSF76
Register now and demo is free and registration are also free : https://bit.ly/3VnkEgG
High Salaried Internship
Attention All Freshers; A platform called Yhills offering high Salaried Internship in IBM.
GET CERTIFICATE HERE👇
Register now to shift from non it to it and top 100 participants get upto 30lakh scholarship: https://forms.gle/RTkFYu8TbQP89uvR6
*"Nothing is more expensive than a missed opportunity"*
*So DO NOT MISS this one!!🫣*
*You can today get upto "100%" 🤩 Discount on Industrial Training+Certified Internship🦾🥇*
*Upskill Yourself NOW:* https://forms.gle/CLcRSKRoyCd1WSF76
Register now for IIT certified internship: https://forms.gle/CLcRSKRoyCd1WSF76
Wanna shift from Non IT to IT
Top 100 participants will also get scholarships upto 30 lakhs
And learn from industry experts and free carrer guidance :
Register for free : Wanna shift from Non IT to IT
Top 100 participants will also get scholarships upto 30 lakhs
And learn from industry experts and free carrer guidance :
Wanna shift from Non IT to IT
Top 100 participants will also get scholarships upto 30 lakhs
And learn from industry experts and free carrer guidance :
import tkinter as tk
def button_click(symbol):
current = entry.get()
entry.delete(0, tk.END)
entry.insert(0, current + symbol)
def clear():
entry.delete(0, tk.END)
def calculate():
try:
result = eval(entry.get())
entry.delete(0, tk.END)
entry.insert(0, result)
except Exception as e:
entry.delete(0, tk.END)
entry.insert(0, "Error")
root = tk.Tk()
root.title("Simple Calculator")
entry = tk.Entry(root, width=30, borderwidth=5)
entry.grid(row=0, column=0, columnspan=4, padx=10, pady=10)
buttons = [
('7', 1, 0), ('8', 1, 1), ('9', 1, 2), ('/', 1, 3),
('4', 2, 0), ('5', 2, 1), ('6', 2, 2), ('*', 2, 3),
('1', 3, 0), ('2', 3, 1), ('3', 3, 2), ('-', 3, 3),
('0', 4, 0), ('.', 4, 1), ('=', 4, 2), ('+', 4, 3)
]
for (symbol, row, col) in buttons:
button = tk.Button(root, text=symbol, padx=20, pady=10, command=lambda sym=symbol: button_click(sym))
button.grid(row=row, column=col)
button_clear = tk.Button(root, text='C', padx=20, pady=10, command=clear)
button_clear.grid(row=5, column=0)
button_equal = tk.Button(root, text='=', padx=20, pady=10, command=calculate)
button_equal.grid(row=5, column=2)
root.mainloop()
Stuck in learning numerous Tech Stacks?😥
🧱Instead, focus on fundamentals: 𝗗𝗦𝗔 and 𝗦𝘆𝘀𝘁𝗲𝗺 𝗗𝗲𝘀𝗶𝗴𝗻 for core SDE roles with top product companies🔥
✅1500+ learners
✅35 LPA Average CTC | Highest 98 LPA
✅130% hike
📅 Round 3 Applications close on March 4, 2024 (Only 4 Seats remaining for March Cohort)
Enrol Today!
https://l.hych.in/saurav29
