From Johnny With AB - Type AB, call me John. A personal site full of creativity, stories, and projects from Johnny’s unique world.

Transforming a Boxed Shoe Cabinet from Costco

7,724

You know how when you go to Costco you get this big box of shoe cabinets? Yes,that did happen to me.After putting together this huge shoe cabinet that came in boxes,I was left with this taped-...

Embracing Spring in Style: A Sunny Friday Tale

7,595

As the sun cast its generous rays upon us this Friday,marking the earth with the promise of spring,I found myself weaving through the school gates,clad in my green hoodie and black cap.The ens...

Cal Poly Pomona

7,831

Cal Poly Pomona's history began in 1901 as the California State Polytechnic School,initially focusing on agriculture and teacher training in Pomona.It evolved through various name changes and ...

Java Scope

7,102

In Java,variables are only accessible inside the region they are created.This is called scope.Method Scope.Variables declared directly inside a method are available anywhere in the method foll...

Java Methods

7,086

A method is a block of code which only runs when it is called.You can pass data,known as parameters,into a method.Methods are used to perform certain actions,and they are also known as functio...

Java Recursion

7,200

Recursion is the technique of making a function call itself.This technique provides a way to break complicated problems down into simple problems which are easier to solve.Recursion may be a b...

Java Classes and Objects

7,089

Java is an object-oriented programming language.Everything in Java is associated with classes and objects,along with its attributes and methods.For example: in real life,a car is an object.The...

Java Packages

7,176

Java Packages & API.A package in Java is used to group related classes.Think of it as a folder in a file directory.We use packages to avoid name conflicts,and to write a better maintainable co...

Java Inheritance (Subclass and Superclass)

7,182

In Java,it is possible to inherit attributes and methods from one class to another.We group the "inheritance concept" into two categories::subclass (child) - the class that inherits from anoth...

Java Inner Classes

7,055

In Java,it is also possible to nest classes (a class within a class).The purpose of nested classes is to group classes that belong together,which makes your code more readable and maintainable...

The Print() Method

7,155

Print Text.You learned from the previous chapter that you can use the println() method to output values or print text in Java:You can add as many println() methods as you want.Note that it wil...

Python Lists

7,341

Lists are used to store multiple items in a single variable.Lists are one of 4 built-in data types in Python used to store collections of data,the other 3 are Tuple,Set,and Dictionary,all with...

Python String Operations

7,417

You can return a range of characters by using the slice syntax.Specify the start index and the end index,separated by a colon,to return a part of the string.Slice From the Start.By leaving out...

Python Variables

7,409

Variables are containers for storing data values.Creating Variables.Python has no command for declaring a variable.A variable is created the moment you first assign a value to it.Variables do ...

Python Data Types

7,445

In programming,data type is an important concept.Variables can store data of different types,and different types can do different things.Python has the following data types built-in by default...

Python Getting Started

7,459

Many PCs and Macs will have python already installed.To check if you have python installed on a Windows PC,search in the start bar for Python or run the following on the Command Line (cmd.exe)...

Python Comments

7,545

Comments can be used to explain Python code.Comments can be used to make the code more readable.Comments can be used to prevent execution when testing code.Creating a Comment.Comments starts w...

Python Comparison Operators

7,240

OperatorDescriptionExample.==,If the values of two operands are equal,then the condition becomes true.(a == b) is not true..!=,If values of two operands are not equal,then condition becomes tr...

Python Syntax

7,408

Execute Python Syntax.As we learned in the previous page,Python syntax can be executed by writing directly in the Command Line:Or by creating a python file on the server,using the .py file ext...

Top 20 Chovy Plays | League of Legends | 2022

7,406

Chovy,a rising star in the world of League of Legends,has captured the hearts of fans worldwide with his incredible plays in 2022.I've always admired Chovy's gameplay.While many have been dubb...

Faker Montage | Best of 2022

7,456

Faker,the legendary League of Legends player,has left an indelible mark on the world of eSports.In 2022,his skill and strategic prowess were on full display,showcasing why he's considered one ...

Best of T1 Faker | 2023 Highlights

7,453

In the realm of esports,Faker stands as an icon,a player whose every move on the virtual battlefield is closely watched and celebrated.As Faker himself reflected,"I received many awards and wa...

Top 10 Chovy Plays | Best of 2023

7,385

Dive into the mesmerizing world of Chovy,where each play is a masterpiece,showcasing unparalleled skill and strategic prowess.In the competitive landscape of 2023,Chovy has consistently proven...

Mordern web design based on Bootstrap

7,393

Most recently,I learned to build a modern website based on HTML+CSS+Bootstrap,and the below website is developed for testing.Bootstrap is actually useful to implement a responsive web which is...

Unveiling Derby Shoes: A Timeless Classic

7,424

Derby shoes,a timeless classic in the world of footwear,have a fascinating origin story.They trace back to 1815 when General Brassel of Prussia devised a style that would revolutionize shoe de...

Python Sets

7,093

Sets are used to store multiple items in a single variable.Set is one of 4 built-in data types in Python used to store collections of data,the other 3 are List,Tuple,and Dictionary,all with di...

Python Tuples

7,172

Tuples are used to store multiple items in a single variable.Tuple is one of 4 built-in data types in Python used to store collections of data,the other 3 are List,Set,and Dictionary,all with ...

Python Conditions and If statements

7,130

Python supports the usual logical conditions from mathematics::Equals: a == b,Not Equals: a != b,Less than: a < b,Less than or equal to: a b,Greater than or equal to: a >= b.These conditions c...

Python Dictionaries

7,059

Dictionaries are used to store data values in key:value pairs.A dictionary is a collection which is ordered*,changeable and do not allow duplicates.Dictionaries are written with curly brackets...

Python While Loops/For Loops

7,507

The while Loop.With the while loop we can execute a set of statements as long as a condition is true.The while loop requires relevant variables to be ready,in this example we need to define an...

Python Functions

7,065

A function is a block of code which only runs when it is called.You can pass data,known as parameters,into a function.A function can return data as a result.Creating a Function.In Python a fun...

Python Arrays

7,088

Arrays are used to store multiple values in one single variable: Access the Elements of an Array.You refer to an array element by referring to the index number. .The Length of an Array.Use the...

Python Lambda

7,105

A lambda function is a small anonymous function.A lambda function can take any number of arguments,but can only have one expression.Syntax.The expression is executed and the result is returned...

Python Classes/Objects

7,469

Python is object-oriented.In Python,most things are objects with properties and methods.Class is an object constructor or "blueprint" for creating objects.Create a Class.To create a class,use ...

Python Inheritance

7,189

Inheritance allows us to define a class that inherits all the methods and properties from another class.Parent class is the class being inherited from,also called base class.Child class is the...

Python Iterators

7,109

An iterator is an object that contains a countable number of values.An iterator is an object that can be iterated upon,meaning that you can traverse through all the values.Technically,in Pytho...

Python Modules

7,106

What is a Module?.Consider a module to be the same as a code library.A file containing a set of functions you want to include in your application.Create a Module.To create a module just save t...

Python Polymorphism

7,087

The word "polymorphism" means "many forms",and in programming it refers to methods / functions / operators with the same name that can be executed on many objects or classes.Function Polymorph...

Python Scope

7,063

A variable is only available from inside the region it is created.This is called scope.Local Scope.A variable created inside a function belongs to the local scope of that function,and can only...

ILLIT's "Magnetic" in Light of the NewJeans Crisis

7,783

Recently,there's been a lot of talk in the K-pop scene about NewJeans ,both about their popularity and the controversies surrounding them.In particular,suspicions arose that Aileet had 'Copy &...

AP Exams Calculator Policy

7,233

Hey there,fellow brainiacs! Let's talk about something super important for AP exam day - calculators.Yep,those little gadgets can make a big difference,but there are rules you gotta know.So,he...

What to Bring on AP Exam Day

7,273

Before exam day::Check with the school or center where the exam is being administered to find out what room the exam is being administered in.Plan to arrive well before your exam’s scheduled ...