Introduction to Coding in Hours With Python Level 1: A Guide to Programming for Students With No Prior Experience (Learn Coding Basics With Python)
By Jack C. Stanely and Erik Gross
()
About this ebook
Welcome to the first book in the Learn Coding Basics With Python book series!
Read more from Jack C. Stanely
You Are Not Stupid: Computers and Technology Simplified Rating: 0 out of 5 stars0 ratingsLearn Coding Basics for Kids, Young Adults and People who are Young at Heart, with Python Rating: 0 out of 5 stars0 ratingsLearn Coding Basics in Hours with Python Rating: 0 out of 5 stars0 ratingsThe Project Management Handbook: Simplified Agile, Scrum and Devops for BeginnersSim: Tech and computers simplified Rating: 0 out of 5 stars0 ratings
Related to Introduction to Coding in Hours With Python Level 1
Related ebooks
Build Your Own Printed Circuit Board Rating: 2 out of 5 stars2/5Java 2 Micro Edition: Professional Developer's Guide Rating: 4 out of 5 stars4/5MATLAB Demystified Rating: 5 out of 5 stars5/5Technical Math Demystified Rating: 4 out of 5 stars4/5Schaum's Outline of Computer Architecture Rating: 0 out of 5 stars0 ratingsRobotics Demystified Rating: 1 out of 5 stars1/5Schaum's Outline of Discrete Mathematics, Revised Third Edition Rating: 5 out of 5 stars5/5Mastering Resin Rating: 0 out of 5 stars0 ratings101 Famous People Gospel Quotes: Great Good News Quotes Rating: 0 out of 5 stars0 ratingsMathematics for Dyslexics: Including Dyscalculia Rating: 0 out of 5 stars0 ratingsA Dance Between Light and Darkness Rating: 0 out of 5 stars0 ratingsVoice Over IP Crash Course Rating: 2 out of 5 stars2/5Developing Web Applications with Visual Basic.NET and ASP.NET Rating: 0 out of 5 stars0 ratingsAudel Carpenter's and Builder's Layout, Foundation, and Framing Rating: 3 out of 5 stars3/5ETCH: Stone Souls Book I Rating: 0 out of 5 stars0 ratingsVisual Basic .NET and XML: Harness the Power of XML in VB.NET Applications Rating: 0 out of 5 stars0 ratingsSix Sigma Demystified: A Self-Teaching Guide Rating: 0 out of 5 stars0 ratingsEDGE: Stone Souls Book II Rating: 0 out of 5 stars0 ratingsDigital Electronics Demystified Rating: 0 out of 5 stars0 ratingsAdvanced Calculus: An Introduction to Linear Analysis Rating: 0 out of 5 stars0 ratingsInterior Point Algorithms: Theory and Analysis Rating: 0 out of 5 stars0 ratingsComplex Variables Demystified Rating: 3 out of 5 stars3/5Developing Web Applications with ASP.NET and C# Rating: 0 out of 5 stars0 ratingsACT DeMYSTiFieD Rating: 0 out of 5 stars0 ratingsConcrete and Water: documenta fifteen as an Atmospheric Phenomenon Rating: 0 out of 5 stars0 ratingsMexico Heat Rating: 0 out of 5 stars0 ratingsC++ Demystified Rating: 3 out of 5 stars3/5Schaum's Outline of Applied Physics, 4ed Rating: 1 out of 5 stars1/5Evolutionary Optimization Algorithms Rating: 4 out of 5 stars4/5Building and Solving Mathematical Programming Models in Engineering and Science Rating: 4 out of 5 stars4/5
Computers For You
Elon Musk Rating: 4 out of 5 stars4/5Procreate for Beginners: Introduction to Procreate for Drawing and Illustrating on the iPad Rating: 5 out of 5 stars5/5Deep Search: How to Explore the Internet More Effectively Rating: 5 out of 5 stars5/5Learning the Chess Openings Rating: 5 out of 5 stars5/5Slenderman: Online Obsession, Mental Illness, and the Violent Crime of Two Midwestern Girls Rating: 4 out of 5 stars4/5Mastering ChatGPT: 21 Prompts Templates for Effortless Writing Rating: 4 out of 5 stars4/5The Innovators: How a Group of Hackers, Geniuses, and Geeks Created the Digital Revolution Rating: 4 out of 5 stars4/5CompTIA Security+ Get Certified Get Ahead: SY0-701 Study Guide Rating: 5 out of 5 stars5/5The Professional Voiceover Handbook: Voiceover training, #1 Rating: 5 out of 5 stars5/5SQL QuickStart Guide: The Simplified Beginner's Guide to Managing, Analyzing, and Manipulating Data With SQL Rating: 4 out of 5 stars4/5Some Future Day: How AI Is Going to Change Everything Rating: 0 out of 5 stars0 ratingsExcel 101: A Beginner's & Intermediate's Guide for Mastering the Quintessence of Microsoft Excel (2010-2019 & 365) in no time! Rating: 0 out of 5 stars0 ratingsAn Ultimate Guide to Kali Linux for Beginners Rating: 3 out of 5 stars3/5The ChatGPT Millionaire Handbook: Make Money Online With the Power of AI Technology Rating: 4 out of 5 stars4/5The Self-Taught Computer Scientist: The Beginner's Guide to Data Structures & Algorithms Rating: 0 out of 5 stars0 ratingsStandard Deviations: Flawed Assumptions, Tortured Data, and Other Ways to Lie with Statistics Rating: 4 out of 5 stars4/5How to Create Cpn Numbers the Right way: A Step by Step Guide to Creating cpn Numbers Legally Rating: 4 out of 5 stars4/5101 Awesome Builds: Minecraft® Secrets from the World's Greatest Crafters Rating: 4 out of 5 stars4/5Alan Turing: The Enigma: The Book That Inspired the Film The Imitation Game - Updated Edition Rating: 4 out of 5 stars4/5A Brief History of Artificial Intelligence: What It Is, Where We Are, and Where We Are Going Rating: 4 out of 5 stars4/5Going Text: Mastering the Command Line Rating: 4 out of 5 stars4/5Tor and the Dark Art of Anonymity Rating: 5 out of 5 stars5/5Python Machine Learning By Example Rating: 4 out of 5 stars4/5The Hacker Crackdown: Law and Disorder on the Electronic Frontier Rating: 4 out of 5 stars4/5CompTia Security 701: Fundamentals of Security Rating: 0 out of 5 stars0 ratingsUncanny Valley: A Memoir Rating: 4 out of 5 stars4/5
Reviews for Introduction to Coding in Hours With Python Level 1
0 ratings0 reviews
Book preview
Introduction to Coding in Hours With Python Level 1 - Jack C. Stanely
CHAPTER 1
CODING TERMS
In order to write code, we need a computer . So, let’s briefly discuss what a computer is. As you know, it is a machine (equipment with a purpose; a tool).
Computers were created to do a simple thing: they take in data (information), change the data in some way, and send out data. That’s all.
(computer)
As machines, some of the characteristics of computers include the following:
● They handle data . Again, data is information – such as words, symbols
(something written that represents an amount, idea, or word), pictures, etc.
● They obey instructions (commands entered into them that perform certain
tasks).
● They automate (perform actions without human interaction) tasks that would
either take too long for a person to do or be too boring or repetitive.
● They process data. Process means to handle something through use of an
established (and usually routine) set of procedures. When a computer displays
the word processing
, it is simply saying, "Hold on while I perform some
pre-established procedures. Processing refers to
taking actions with data."
Searching through words to locate typos would be an example of processing
data.
When computers perform actions, it is referred to as executing or running . For example, you can run a search on the internet by clicking the search button or you could execute an instruction by pressing enter on your keyboard.
THE PURPOSE OF COMPUTERS IS TO TAKE IN DATA, PROCESS IT AND SEND IT OUT.
The point where computers really started to become valuable to people was when it was worked out how to install programs on them.
Install means to put something inside a computer that the computer can then use.
Programs are sets of written instructions, entered into a computer by people, that make it execute specific tasks. Installing a program means to put it into a computer so that the program can execute. For example, you could install a program by transferring the data that makes up the program from the internet to your computer.
Behind every action you perform on a computer, there is a program. Common programs you have probably used before include:
● Microsoft Word (a program that allows you to type documents)
● Google Chrome (a program that helps you search the internet)
● iTunes (a program used to organize and listen to music)
Programs are written in a programming language . A programming language is an organized system of words, phrases, and symbols that lets you create programs. Just as there are many languages used by people across the world, there are different types of programming languages. In fact, there are over a thousand programming languages (though only about ten account for the majority of languages used).
In the same way that hammers and ladders have specialized utilizations, each programming language has different uses. For example, some programming languages were designed mainly to improve websites, while others were made for creating computer games.
The instructions inside these programs are referred to as code . Most code originally looks similar to English and is then translated down to instructions composed of the 1s and 0s that computers understand (called machine language ).
For example, to have a computer display the words Hello!
on your screen using Python (the popular computer programming language covered in this book that can be used to create programs and websites), the code is written as:
print(Hello!
)
When someone says program a computer
or do some coding,
they are just saying, Write a set of instructions into a computer, using a programming language, that will result in specific actions being performed when that set of instructions is called for.
A computer programmer is one who engages in computer programming (writing code that results in programs). Programmers are also referred to as coders , software developers , and software engineers .
Coders create software , which is just another word for program
or application
. These terms are all interchangeable – though app
(abbreviation of application) is usually used to refer to programs (applications; software) on a mobile device (like a cell phone).
Computer programs are saved as files . As you may already know, files are collections of data stored on a computer. Files each have their own name and contain their own data, and they often are collected together in a folder . Folders are used to organize files on a computer and are given their own name. Another word for folder is directory . For example, an application could consist of multiple files all saved in the same directory (folder).
WHAT IS PYTHON?
Python is one of the most-used programming languages in the world. It was designed to look similar to English so that it is easier to read and write than some other overly technical languages.
Python is often used to create websites, analyze data, and automate tasks, but it can also be used for many other tasks, like building apps or controlling robots.
One of Python’s key strengths is that it is versatile and flexible, meaning it can be used in a wide range of fields, from science to web development. It also has a large community of users who share tools, making it easier for new learners to find help and resources.
Here are some real-world uses of Python:
● Spotify: Python helps the service recommend songs and podcasts based on
listening habits, while also keeping streams smooth for millions of users.
● NASA: uses Python to process and visualize data from space missions, aiding
scientific research and analysis. ● Netflix: Python helps suggest shows and