Challenge: One Code Problem Per Daycreated at Oct 03, 2025 271 There's a CS program course where we have to solve one coding problem every day.This course is really exciting.When solving the problems, |
Mastering Excel Data Manipulation with Pythonupdated at Apr 26, 2024 6,752 Python provides an awesme feature can access Excel spreadsheet file that based on pandas.You can use the pandas library in Python to read an Excel file and store its data into a Python array. Here's a basic example:Replace 'your_excel_file.xlsx' with the p... |
Python Comparison Operatorsupdated at May 10, 2024 6,793 OperatorDescriptionExample.==, |
Python Arithmetic Operatorscreated at Jun 14, 2023 6,749 OperatorDescriptionExample% ModulusDivides left hand operand by right hand operand and returns remainder20 % 10 = 0* MultiplicationMultiplies values on either side of the operator10 * 20 = 200** ExponentPerforms exponential (power) calculation on operators... |
Printing string n timescreated at Jun 14, 2023 6,752 In Python, |
String concatenation by join()created at Jun 14, 2023 6,838 Write the code for a Python function expand(x) that takes a list of strings, |
Code Chronicles - A Caffeine-Fueled Journey into Data Software Engineeringupdated at Sep 23, 2024 6,935 Interning in Data Software Engineering was like entering a realm where coding meets caffeine-fueled euphoria.The excitement bubbled within me like an over-caffeinated potion as I delved into the world of zeros and ones.“Excitement is like caffeine for the... |
Python Tutorials for AP Computer Science Principles, updated at May 10, 2024 |
Python Modulesupdated at May 09, 2024 6,744 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 the code you want in a file with the file extension .py:Use a Mod... |
Python Scopeupdated at May 09, 2024 6,749 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, |
Python Polymorphismupdated at May 09, 2024 6,764 The word "polymorphism" means "many forms", |
Python Iteratorsupdated at May 09, 2024 6,732 An iterator is an object that contains a countable number of values.An iterator is an object that can be iterated upon, |
Python Lambdaupdated at May 09, 2024 6,774 A lambda function is a small anonymous function.A lambda function can take any number of arguments, |
Python Inheritanceupdated at May 09, 2024 6,814 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, |
Python Classes/Objectsupdated at May 09, 2024 6,927 Python is object-oriented.In Python, |
Python Arraysupdated at May 09, 2024 6,736 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 len() method to return the length of an array (the number of el... |
Python Functionsupdated at May 09, 2024 6,762 A function is a block of code which only runs when it is called.You can pass data, |
Python While Loops/For Loopsupdated at May 09, 2024 6,904 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, |
Python Conditions and If statementsupdated at May 09, 2024 6,776 Python supports the usual logical conditions from mathematics::Equals: a == b, |
Python Dictionariesupdated at May 09, 2024 6,744 Dictionaries are used to store data values in key:value pairs.A dictionary is a collection which is ordered*, |
Python Setsupdated at May 09, 2024 6,740 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, |
Python Tuplesupdated at May 09, 2024 6,815 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, |
Python Listsupdated at May 10, 2024 6,812 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, |
Python String Operationsupdated at May 10, 2024 6,842 You can return a range of characters by using the slice syntax.Specify the start index and the end index, |
Python Data Typesupdated at May 10, 2024 6,857 In programming, |
Python Variablesupdated at May 10, 2024 6,820 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 not need to be declared with any particular type, |
Python Commentsupdated at May 10, 2024 6,946 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 with a #, |
Python Syntaxupdated at May 10, 2024 6,877 Execute Python Syntax.As we learned in the previous page, |
Python Getting Startedupdated at May 10, 2024 6,868 Many PCs and Macs will have python already installed.To check if you have python installed on a Windows PC, |
Python Introductioncreated at Jun 12, 2023 6,744 Python is a popular programming language. It was created by Guido van Rossum, |
What is Python?created at Jun 12, 2023 6,735 Python is a genus of constricting snakes in the Pythonidae family native to the tropics and subtropics of the Eastern Hemisphere.In terms of programming language, |
Machine Learning Types and Programming Languagesupdated at Nov 29, 2023 6,775 In the area of Machine Learning Technology, |
The Future of Software Engineer - AI Engineeringcreated at Nov 05, 2025 207 What is AI Engineering?AI Engineering is a multi-faceted discipline focused on building, |
ChatGPT Reset command and Ignore the Previous Response feature to have a Solid Resultupdated at May 16, 2024 7,060 The ChatGPT Reset Command is a feature that allows you to reset the conversation context and start fresh.This can be useful if you want to change the topic or start a new line of inquiry without any prior context influencing the conversation.Reset Command:... |
ChatGPT Connectors makes the results Perfect as you expectedcreated at May 10, 2024 6,995 Connectors are essential for structuring requests to ChatGPT in a clear, |
Difference between Java and Javascriptupdated at Oct 03, 2024 6,920 Java and JavaScript are two distinct programming languages that serve different purposes and have different capabilities, |
Java Servlet Examplecreated at Feb 19, 2024 6,783 Creating a quick servlet-based web application involves a few steps. You'll need to set up a development environment, |
Creating a simple Java Servlet (Web Server Page) with Apache Maven on Microsoft Windowscreated at Jan 28, 2024 6,763 STEP 1. Install OpenJDK 17https: / / learn.microsoft.com / en-us / java / openjdk / download#openjdk-17 → select microsoft-jdk-17.0.10-windows-x64.msi → Install STEP 2. Install Mavenhttps: / / maven.apache.org / → Download → apache-maven-3.9.6-bin.z... |
Java Tutorials associated with AP Computer Science Aupdated at Jun 15, 2024 6,891 As you set sail on your journey through AP Computer Science A, |
Java Inner Classesupdated at May 10, 2024 6,745 In Java, |
Java Polymorphismcreated at Jul 18, 2023 6,747 Polymorphism means "many forms", |
Java Inheritance (Subclass and Superclass)updated at May 10, 2024 6,804 In Java, |
Java Packagesupdated at May 10, 2024 6,801 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, |
Java Classes and Objectsupdated at May 10, 2024 6,763 Java is an object-oriented programming language.Everything in Java is associated with classes and objects, |
Java Recursionupdated at May 10, 2024 6,799 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 bit difficult to understand.The best way to figure out how it wor... |
Java Scopeupdated at May 10, 2024 6,739 In Java, |
Java Methodsupdated at May 10, 2024 6,752 A method is a block of code which only runs when it is called.You can pass data, |
Java While Loop/Do While Loop/For Loop/For-Each Loop/Break/Continueupdated at May 13, 2024 6,941 Loops can execute a block of code as long as a specified condition is reached.Loops are handy because they save time, |
Java Switch Statementsupdated at May 15, 2024 6,813 Instead of writing many if.else statements, |
Java Short Hand If...Else (Ternary Operator)updated at May 15, 2024 6,881 In the vast world of programming, |