Nawat Sunthornyanakitearthcode.hashnode.dev·Jun 13, 2024Two Sum (Leetcode #1)Question: Given an array of integers nums and an integer target, return the indices of the two numbers such that they add up to the target. Constraints: Each input would have exactly one solution. The same element cannot be used twice. Examples: ...leetcode
Karunkarun.hashnode.dev·Sep 9, 2023Factory Method Pattern in Python: Crafting Objects CreativelyThe Factory Method pattern is a creational design pattern that provides an interface for creating objects in a super class but allows subclasses to alter the type of objects that will be created. It promotes loose coupling and flexibility in object c...Master Python from Basics to Advanced: Unlock Your Coding PotentialPython
Vineet Singh Negivineetsnegi.hashnode.dev·Aug 27, 2023Python File Handling Made SimpleIn my previous blog, you learned the basics of Python. So now let's dive deep into file handling in Python. So file handling is an important part of any web application. Python has several functions for creating, reading, updating, and deleting files...8 likes·44 readsPython for BeginnersPython
ADITYA LADadityalad2003.hashnode.dev·Aug 22, 2023Python-For BegineersPython basics cover the fundamental concepts and features of the Python language that you need to know to get started with Python programming. The main topics covered in Python basics are: 1. Syntax Python uses fairly conventional syntax with some un...1 likePythonPython
Vineet Singh Negivineetsnegi.hashnode.dev·Aug 14, 2023Python for Beginners Part-11. Why Learn Python In The First Place Python is a powerful programming language yet extremely simple to learn. It is built around the philosophy of minimal code to get the same work done. Let's get an intuition of the same using an example: 1.1) Hel...10 likes·53 readsPython for BeginnersPython
Matthew Hardmatthewhard.com·Jun 6, 2023Python for Beginners: Part 7 - ExercisesExercise 1: Greeting Program Write a program that asks the user for their name and then prints a personalized greeting. The program should display a message like "Hello, [name]!" where [name] is the name entered by the user. Exercise 2: Even or Odd W...28 readsPythonPython
Matthew Hardmatthewhard.com·May 30, 2023Python for Beginners: Part 2 - Understanding VariablesWelcome back! Today, we're going to take our first step in programming by exploring variables. Our goal is to familiarize ourselves with them and learn how to use them in our code. Then, we'll build a program to see how variables work in practice. ht...5 likes·47 readsPythonPython
Udit Kunduuditsblog.hashnode.dev·Mar 1, 2023Create Strong and Secure Passwords with Python Password Generator: A Comprehensive GuideWhat is a password generator? A password generator is a program that generates a strong password according to your need. You need to pass some values like the length of the password, the number of upper_case characters, the number of numeric characte...364 readsPython
AMIT MAHTOamitmahto.hashnode.dev·Jan 7, 2023Basics of PythonWhat is Python? Python is a General Purpose High-Level programming language. Python was developed by Guido Van Rossum in 1989. But officially Python was made available to the public in 1991. Python is recommended as the first programming language ...31 readsPython Series for Beginnerpython for beginner