Description
Please find attachment for both (Module 1 = Assignment – Hello World Program.docx) and (Module 2 = Assignment – Practice with Variables.docx)
Unformatted Attachment Preview
Intro to Python – Assignment – Hello World Program
Write a “Hello World” Python program as instructed in our How to Setup Python &
PyCharm document.
1 – Copy / paste your completed code here:
2 – Copy / paste your output here:
3 – Take one screenshot of your working environment (the PyCharm or other IDE
screen) and copy it here:
4 – Locate on your drive the location of your .py file. Upload that to Blackboard along
with this completed file.
Python and PyCharm Setup Instructions
For this class, all students must download and install Python and a Python IDE.
We will use this software to run our Python code.
Step 1 – Downloading & Installing Python
If it just so happens that you have already been coding in Python and you already have
Python installed, then you can skip this step, as long as it is some version of Python 3.
–
Go to this website:
https://www.python.org/downloads/
–
Click on the Download Python yellow button:
(which is their current version)
(any Python 3.x.x version is fine)
– Download and install Python.
– Note: After installation, you do not need to start up / run any application, you can
continue to the Step 2.
Step 2 – Downloading & Installing PyCharm
If it just so happens that you have already been coding in Python and you are already
using your favorite Python IDE, then you can continue to use it for this class and you
can skip this step. (Note that for our assignments you will need to locate you .py file to
upload it to Blackboard).
–
Go to this website: https://www.jetbrains.com/pycharm/download/
Option 1 (Suggested) – Scroll down on the
page and look for the Community Edition.
Download and install this version. This is a free
version that does not require any future updates. This is not the version used by
professionals and does have all of the features, but this version gives us all that we
need for this course and can be used for our entire semester.
** For mac users: be sure to select the correct version for your mac machine, such as if
you have the Apple chip on Intel chip
–
Option 2 (At your own exploration) – Install the Professional Edition. Look for any
student options – you are free to try this at your own risk. Also you can purchase the
Professional Edition.
–
There is also a free trial Professional version, but make sure that the trial does
not end before the semester ends. You can also look into obtaining a student
version by supplying your .edu email address.
Step 3 – Create a PyCharm Project
If it just so happens that you have already been coding in Python and you are already
using your favorite Python IDE, then you can skip this step.
– Start up PyCharm.
– Choose to Create a New Project.
– Use a project a name that you can use the entire semester.
A suggested name would be the name of our class, such as “istm3119”.
Do not include any spaces or UPPER-CASE letters in the name.
– Accept all defaults, except for:
– Uncheck the box to create a main.py. We won’t need this.
– Make sure that the “interpreter” field is pre-populated with a version of python, such
as the version that you installed in Step 1.
– Click button to Create Project
Step 4 – Write & Run a Python Program
If it just so happens that you have already been coding in Python and you are already
using your favorite Python IDE, then create this Python file using your own IDE.
– Right-click on the istm3119 (or other name) project you created.
– Choose New and then Python file
– Type in a name for your python file, such as “hello”. This will be a “hello world”
program, meaning that it will do a very basic statement, such as print “Hello, world!”.
Click enter. You will see that it creates an entry for this file (on the left) and a tab for
you to type in the file contents. Type in the following for your code:
import math
print(“Hello, World!”)
print(“the value of pi is”, math.pi)
Right-click in the content area of your code and choose “Run”. This will run your
program. If your output looks something like this below, then it worked!
Hello, World!
the value of pi is 3.141592653589793
Intro to Python FAQ
What is Python?
Python is a programming language. It was created by Dutch programmer,
Guido van Rossum. He named it after the British comedy group, Monty
Python.
Python is currently managed and maintained by the Python Software
Foundation. python.org serves as the official website for the language and
include documentation and downloads.
Python programs as sometimes called “scripts”. These programs / scripts
contain Python source code.
Python is an interpreted language. That means that when we run a Python
script, we must run the Python interpreter. The Python interpreter will read
the Python script, interpret it, and “behind the scenes” machine code will be
generated so that the code can be run. There are other languages that are
also interpreted languages. In each case, an interpreter program is
required on the machine in which the programs are run.
In order to run Python scripts, we must already have the Python interpreter
installed on our computer. In order to install the Python interpreter, we
must install Python from python.org. When we install Python, several
components will be installed, including:
1. The Python interpreter. This is the file python.exe
2. The Python language, which includes the “built-in” components that we
will discuss later in the course.
3. The Python Standard Library, known as the “PSL”, that we will discuss
later in the course.
4. The IDLE IDE, discussed below.
What is the Python Interpreter?
This is the program that will interpret and run the Python source code.
What is the Python code or “built-in” components?
There are many “built-in” components to the language, which means that
they can be used without doing an import. We will discuss this further as
we examine various examples of code.
What is the PSL?
This is the Python Standard Library.
In general, a “library” is any set of code. We can think of a library of code
just like a library of books. It is made up of many files of code. A library is
stored as a series of files and/or folders on our computer.
The PSL is the set of many Python modules. A Python module is another
word for a Python file but used in the context when we have one Python file
“import” another Python file. Python file A imports Python module B. We
will see many examples of modules in the future.
What is an IDE?
An IDE is an Integrated Development Environment. It is an elaborate
program that is used to develop source code. Let’s explain why each of
these three words are important.
Development = It is used to “develop” source code. “develop” is simply
another word for “writing code” or “developing code” or “programming.
“development” or “dev” are common words that are used when referring to
the creation of code.
Environment = it is not one simple program, but instead it is an elaborate
“environment”, which is a series of screens, panels, and menus to create a
“one stop shop” for everything that is needed to develop source code.
Integrated = because it is not one simple program, instead it integrates
many smaller programs together, including:
1. a text editor, which is used to create, write, edit source code. Remember
that source code is always text-based, which means that it can be created
with and edited with a text editor.
2. a way to check for syntax errors in our program. The IDE will report on
syntax errors and allow the programmer to fix them by changing the code.
3. a way to run the program. In the case of an interpreted language, when
we run the program, we will invoke the interpreter.
4. a debugger program, used to step through the source code line-by-line.
5. a way to manage “projects”. A project is a grouping of code, and usually
corresponds to a folder on the machine, and all of the source code for that
project is stored under that folder.
Examples of IDEs are: 1.) PyCharm 2.) IDLE 3.) many others
What is PyCharm?
PyCharm is one example of an IDE. PyCharm is what is used in all of the
videos shown in this course. PyCharm was created by a company called
JetBrains, and they make other programming software. JetBrains offers
two downloads (versions) of PyCharm:
1.) Community version – This version is free. This is recommended for this
course so that you will not need to pay for the software. This version offers
all of the features you need for this course.
2.) Professional version – You may use this as well. The trial version is
free but after the trail time period, you will need to pay for the software.
This version offers more features than the Community version, that may be
desired in a professional setting.
What is IDLE?
It is a basic IDE that is automatically downloaded when you download
Python. That means that in order to write Python code, we really do not
need to install PyCharm or other IDEs, we can do so with IDLE alone.
However, many programmers prefer to install a more sophisticated IDE however, it is a personal preference and is also dependent upon the needs
of the project at hand. You can choose to use IDLE as your IDE, but a
more sophisticated IDE like PyCharm is recommended.
IDLE is named after Eric Idle, who was a member of the British comedy
group, Monty Python.
What software do I need for this course and how do I download it?
1.) Python, which will include the components as described above. Any
version within Python 3 can be used. This can be downloaded from
python.org. Instructions will be provided. Python is free of charge.
2.) Any IDE or any development environment such that you can write and
run Python code. PyCharm (from JetBrains) is recommended, but IDLE
can also be used, as well as any other IDE of your choice. Instructions will
be provided for downloading PyCharm. PyCharm offers a Community
version which is free of charge. IDLE is free of charge.
What is Python 2 vs. Python 3?
Over the years, the Python Software Foundation has made improvements
and changes to the Python language. With each grouping of changes, the
Python Software Foundation releases a new version of Python. At one
time, Python 2 was released. Later, major changes were made, such that
a new major version was released – Python 3. The changes were
significant enough such that, a developer cannot mix Python 2 code with
Python 3 code. For that reason, there are many developers using Python 2
and must adhere to Python 2 for the entire project. For this course, we will
strictly use Python 3. Note that there are minor releases of Python 3, such
as 3.4.3 and many other versions – these are collectively referred to as
“Python 3.x”.
What is a file extension?
Each file name includes a file extension. This is the name after the dot (.)
and examples include: .doc .docx .txt .exe .java .py
.doc and .docx files can be read by Word
.txt indicates a text-based file
.exe is an executable file, meaning that it can be run
.py a text file that contains Python code. Because it is text-based, it can be
read and opened by any text editor.
What is a PyCharm project?
As you will see in later instructions and videos, a PyCharm “project” is
mentioned. In PyCharm, and in other IDEs, we can create various
“projects”. The idea of a “project” not just exists in PyCharm, it exists in
many other IDEs and for other programming languages, other than Python.
For example, we can create a project named for our class, such as
“itp150”, and that would correspond to a folder on our machine named
“itp150”. We can create many projects. Each project would contain many
source code files. The ability to create multiple projects enables us to
organize our code, just like we would organize many files by placing them
in various logical folders. Multiple projects allow for developers to work on
many different sets of code at the same time. For example, a developer
may have one project that is to create a new gaming program while another
project may be to write a new content management system.
PyCharm projects are stored to a folder such as:
C:UsersyouridPycharmProjectsitp150
A project can also be associated with the version of the Python interpreter,
such as 3.4.3. A programmer can actually have multiple versions of Python
installed on their machine, and each project corresponds to a specific
version. For example, Project abc can be using version 3.4.3 while Project
def can be using version 3.4.7.
Intro to Python
Introduction to Python
– Foundational Concepts
– Software and Hardware
– Operating Systems
– What is Code?
– What is Python?
PSIS 2105: Programming & Computing Foundations I
What is hardware?
• Physical components we can see and touch
– Laptop, Desktop, phone
– Server machine
– Mouse, keyboard, webcam
– Storage
– Hard drive, flash drive
PSIS 2105: Programming & Computing Foundations I
What is software?
The programs / applications we run. Examples:
1 – Operating Systems
2 – The applications we use on our laptop
– Installed Software – Excel, Word, Chrome
3 – The apps we install on our phone
– Mobile Apps – Uber, ParkMobile
4 – The software running on an application server
– To support any web-based apps that you access
using your browser (Chrome), such as Blackboard
– To support any dynamic web-pages
PSIS 2105: Programming & Computing Foundations I
Example 1 – Operating Systems
• Foundational software that works closely and is
compatible with the hardware
– macOS – on MacBooks
– Windows – on Windows-compatible laptop/desktop
– iOS – on iPhones and iPads
– Android – on Android-compatible phone
– Linux – on server machines
PSIS 2105: Programming & Computing Foundations I
Example 2
Applications we use on our laptop.
These are installed on our machines.
This is known as installed software
PSIS 2105: Programming & Computing Foundations I
MacBook
user
App:
Chrome
App:
Pages
App:
Numbers
Operating System: macOS Sonoma 14
Hardware: MacBook Pro
– The OS must be compatible with the hardware.
– Installed apps must be compatible with the OS.
PSIS 2105: Programming & Computing Foundations I
Windows-Compatible Machine
user
App:
Chrome
App:
Word
App:
Excel
Operating System: Windows 10
Hardware: HP Spectre
– The OS must be compatible with the hardware.
– Installed apps must be compatible with the OS.
PSIS 2105: Programming & Computing Foundations I
iPhone
user
App:
Blackboard
App:
Spotify
App:
Uber
Operating System: iOS
Hardware: iPhone 14
– The OS must be compatible with the hardware.
– Installed apps must be compatible with the OS.
PSIS 2105: Programming & Computing Foundations I
Android Phone
user
App:
GoogleMaps
App:
Spotify
App:
Uber
Operating System: Android 14
Hardware: Samsung Galaxy S23+
– The OS must be compatible with the hardware.
– We only install apps that are compatible with the OS.
PSIS 2105: Programming & Computing Foundations I
Example 3
Apps installed on our phones.
These are mobile apps
PSIS 2105: Programming & Computing Foundations I
iPhone app
App Store
App:
Spotify
download
user
App
Compiles the code
into an app
Deploys it to the
App Store
App:
Spotify
Operating System: iOS
writes the
source
code
Hardware: iPhone 14
PSIS 2105: Programming & Computing Foundations I
developer
What goes into building an app?
• Human roles: developer, coder
• Action: developer writes source code
• Source code is written in a programming
language. Developer writes many different files.
• Tools used: text editor, IDE, compiler
• Action: developer compiles all code together to
create one app
• Action: developer deploys app to production
• We will walk-through a few analogies.
PSIS 2105: Programming & Computing Foundations I
A few terms
• development – act of creating software
• source code – code that is the source of an app
• IDE – integrated development environment
• deploy: to copy the app to the production. Or to
copy from one machine to another
• production: the machine that will be accessible by
actual users, such as an app store or server
• compiler – tool that will compile source code into
a lower-level file
• interpreter – tool that will read source code and
interpret it so that we can run the code
PSIS 2105: Programming & Computing Foundations I
code
Analogy: Cooking
user
Application
build
compile
Tools: IDE,
compiler,
interpreter, editor
write code
developer
coder
raw ingredients
chop
customer
cook
bake
chef
cook
Tools: pot, spoon, knife
PSIS 2105: Programming & Computing Foundations I
Example 4
Application code installed on servers
These are web-based applications or
dynamic web pages that we access
through our browser.
PSIS 2105: Programming & Computing Foundations I
E-commerce
Dynamic
Webpage
Example
4 – Web Server makes
Request to App Server
to create order
3 – Chrome
sends HTTP
request to ecommerce web
server
Chrome
Windows 10 (OS)
user laptop
user
HTML Files
Apache Web Server
Linux (OS)
Web Server machine
Application Code
Tomcat App Server
Linux (OS)
App Server machine
5 – App Server
SQL
invokes code to
calc and create new
order
6 – New order is
inserted into
database
7 – Web Server responds with
HTML files to display through
browser showing order success
1 – User access e-commerce webpage using Chrome
2 – User clicks to Submit Order
< ------- client ------> <
---------------------------------->
PSIS 2105:
Programming
& Computingserver
Foundations
I
E-commerce
Dynamic
Webpage
Example
Application Code
Tomcat
Linux (OS)
HTML Files
Apache Web Server
Server machine
SQL
Linux (OS)
Server machine
Chrome
Windows 10 (OS)
user laptop
user
< --- front-end --- >
HTML
CSS
Java Script
< ---- back-end ---- >
SQL
Java, Python
JS (server-side)
PSIS 2105:
Programming
& Computingserver
Foundations
I
< ------- client ------> <
---------------------------------->
Source code
Compiler or
interpreter
App
compile the source code into a runnable App
• What is code? It includes the step-by-step instructions:
–
Step 1 – Display login pop-up
Step 2 – Ask user for id and password
Step 3 – Accept id from user
Step 4 – Accept password from user
Step 5 – Validate id. If invalid, display error.
Step 7 – Validate password. If invalid, display error.
Step 8 – If valid id and password, display Welcome Screen
Step 9 – Paint Left Navigation Menu
Step 10 – Paint Top Menu
Step 11 – Wait for user to choose a Menu Option
All detailed steps must be written one-by-one!
All steps must be written in a programming language.
PSIS 2105: Programming & Computing Foundations I
Analogy: Writing
Writing Code
Writing a Book
Human
developer
coder
writer
author
Deliverable
code
book
Written In a
Language
Programming Language, such as:
Python, Swift, Kotlin, Java
Natural Language, such as:
English, Spanish
Increments
files -> functions
files -> classes -> functions
chapters -> pages
sections -> chapters -> pages
prolog, introduction, epilog
Tools Used
Text editor, IDE, Compiler
Word, Spell Check, Grammarly
File Type
Text File .py .swift .kt
Increments
files -> functions
files -> classes -> functions
Language
Rules
Each programming language has
Each natural language has
syntax rules and style rules
grammar rules. Writing style could
be used.
PSIS 2105: Programming & Computing
Foundations I
.java
Word File
.docx
chapters -> pages
sections -> chapters -> pages
prolog, introduction, epilog
A Few Programming Languages
Usage
Features
Target Platform
Created By
Considered to be
Any, but code is
“lower-level”, meaning written with target
capable of working
platform in mind
with hardware and OS.
Bell Labs of
AT&T in 1971
C
Foundational
applications
and operating
systems
C++
Games on a
Improvement of C by
specific gaming adding object-oriented
console. Older features.
business apps.
Target gaming
Bell Labs of
console. Older
AT&T in 1986
machines. Written
with target platform
in mind.
Java
Multi-purpose.
Many targets.
Sun
Portable to any OS Microsystems
in 1989.
App Servers.
Android phones.
Sun was later
Any OS.
bought by
Oracle.
Back-end
server code.
Android apps.
C#
Flourished in 1990s to
2000s when many web
servers were built.
Portable to various OS.
Original language for
Android apps.
Microsoft tools Microsoft’s language
Windows or
and servers
created in response to Windows Server
PSIS 2105: Programming & Computing Foundations I
Microsoft in
2000.
Usage
Features
Target
Platform
Created
By
Visual Basic Microsoft Apps,
(VB)
such as Excel
Microsoft Servers
for back-end
processing.
Can be integrated with MS Office
apps, such as Excel. Can run
on the back-end on a Windows
Server environment.
MS Office
apps, such as
Excel.
Windows
Servers.
Microsoft
Java Script
Front-end code to
make interactive
webpages.
Back-end code on
app servers
Can be integrated with HTML to
perform validation and other
logic. Can also run on backend.
Front-end
webpages.
Netscape
(now
defunct)
Objective-C
iOS apps
OO features for creating mobile
GUI
iPhones
Apple
(Steve
Jobs)
Swift
iOS apps
(official language)
OO features for creating mobile
GUI
iPhones
Apple
Kotlin
Android apps
(official language)
OO features for creating mobile
GUI
Android
phones
JetBrains
Python
Simple standalone
apps
Back-end app
servers.
Easy to learn. Works well with
Portable to
file processing and data
any OS.
processing. Easy
to complex.
PSIS 2105: Programming
& Computing
Foundations I
Guido van
Rossum in
1991
But what does code look like?
PSIS 2105: Programming & Computing Foundations I
Code for an iPhone App – Swift
PSIS 2105: Programming & Computing Foundations I
Code for an Android Phone – Kotlin
PSIS 2105: Programming & Computing Foundations I
Programming vs. Markup
• Programming language – used to write an
application, has capability for if statements,
repeating code, logic and branching.
• Markup language – “marking up” text in some way
– HTML – markup some text with hyperlinks, colors,
formatting, tables, tags
– XML – eXtensible markup language – markup some
text with tags
PSIS 2105: Programming & Computing Foundations I
OO vs. Procedural
• Object-Oriented Languages – code is organized
based on “objects” and “classes. Most modern
languages, used to solve complex systems.
– Python, Java, JavaScript, Swift, C++, VB, C#
• Procedural Languages – languages that are
based on functions, tends to be older
– C, shell scripting languages, such as bash
PSIS 2105: Programming & Computing Foundations I
Interpreted vs. Compiled
• Interpreted Languages – Requires an interpreter
to run the program. The interpreter will read the
code line-by-line and convert it to binary.
– Python, Java, Swift
• Compiled Languages – languages that require a
compiler to read the source code and compiles
the code into binary, such as a .exe. The binary is
then executed.
– C++, VB, C#, C
PSIS 2105: Programming & Computing Foundations I
Interpreted vs. Compiled
• Benefits of Interpreted Languages:
– Portable to many platforms. Install code to
any platform and as long as you can install
the Interpreter on the platform, then you can
run the code.
• Benefits of Compiled Languages:
– Faster at runtime because code has already
compiled into binary language and can be
run quickly. No interpreter needed at
runtime. Smaller footprint.
• Many modern languages are interpreted to
take advantage of the portability
PSIS 2105: Programming & Computing Foundations I
Intro to Python
Introduction to Python
PSIS 2105: Programming & Computing Foundations I
History of Python
• Created by Guido van Rossum in
1989. His goal was to make an
easy language to encourage
everyone to code
• Named after Monty Python
– John Cleese, Eric Idle, etc.
• Python is now managed by a nonprofit, python.org
• Guido now works for Microsoft
PSIS 2105: Programming & Computing Foundations I
Python is . . .
• An interpreted language – We need the
Python Interpreter in order to run code.
• A “scripting” language – it can be used to
create a small program or “script”
• An OO language – can also be used for
complex program.
• Popular as a beginner language
• Has been slowly replacing Java, VB, and
other languages over the years
PSIS 2105: Programming & Computing Foundations I
Python is great for . . .
• Reading and writing files
– Much easier than in C++ and Java
• Great for data processing
– Seamless transition from files to memory
– Use of data structures such as lists
– Easy to work with Excel files.
• Working with a prototype database
– Python has its own internal database
– No need to connect to a separate server
PSIS 2105: Programming & Computing Foundations I
Python is great for . . .
• Easy to import code written by others
1. Developers write code
2. Developers upload their code to PyPI
The Python Package Index
https://pypi.org/
3. Now we can import that code
• Don’t need to “reinvent the wheel”
PSIS 2105: Programming & Computing Foundations I
Java code:
public class Test {
public static void main(String[] args) {
System.out.println(“Hello World”);
}
}
Python code:
print(“Hello World”)
PSIS 2105: Programming & Computing Foundations I
Java code:
import java.util.Scanner;
public class Test {
public static void main(String[] args) {
Scanner input = new Scanner(System.in):
System.out.print(“Enter your name: “);
String name = input.next();
}
}
Python code:
name = input(“Enter your name: “)
PSIS 2105: Programming & Computing Foundations I
Streamlined
• No class is needed
– However, classes can be created
– Class name can be different from file
name
– Can put many classes into one file
• No “main” method is needed
– However, “main” can be created
PSIS 2105: Programming & Computing Foundations I
Steps in Writing & Running
a Python Program
PSIS 2105: Programming & Computing Foundations I
Step 1 – Write the code
source
code
my_file.py
Parser
reads code
& checks
for syntax
errors
Import any imported code
including code from the PSL
(Python Standard Library).
Python
Interpreter
runnable
interprets
the code
line-byline and
runs it
Step 2 – Run the code
PSIS 2105: Programming & Computing Foundations I
Components
• Source code
– Text based file we have written in python.
File extension is .py
• Parser
– Program that reads the source code and
checks for syntax errors. Invoked by IDE.
• Syntax errors
– Errors in which the rules of the language is
not followed. Similar to having a grammar or
spelling error in a spoken language
PSIS 2105: Programming & Computing Foundations I
Components
• Import
– We can “import” code that has already
been written
• PSL – Python Standard Library
– Code already written.
– Downloaded when we downloaded
Python.
• Python Interpreter
– Program that is invoked when we run the
program.
PSIS 2105: Programming & Computing Foundations I
Downloading & Installing Python
Downloading & Installing an IDE
PSIS 2105: Programming & Computing Foundations I
When we download Python, we get:
1. Python Standard Library = PSL
2. Python Interpreter
3. the Python “shell“
4. IDLE
– A basic IDE
– Named after Eric Idle
– You can use IDLE as your IDE
PSIS 2105: Programming & Computing Foundations I
What is an IDE?
• IDE = Integrated Development Environment
•
•
•
Integrated – integrates many features / programs together:
1. Text editor – write and edit the code. Works on basic text (similar
to TextEdit, Notepad, etc.). Is also a smart editor, it knows the
syntax rules of the language we are writing
2. We can Run the program by invoking the Python interpreter
3. Allows us to create many Projects for keeping our code organized
4. Allows us to connect to one or more Python Versions we already
installed
5. Debugger – (For advanced coders) step through the code line-byline
Development – Enables us to “develop” the software = write the code
Environment – a full environment with complex screens and menus
The IDE:
– Invokes the Python Interpreter, uses Python built-ins and libraries
PSIS 2105: Programming & Computing Foundations I
We will use the PyCharm IDE
• Created by JetBrains
• (Also the creator of Kotlin and IntelliJ )
• We create a project
• We link that project to our Python version
• The project is mapped to a folder on our hard
drive: C:usersxxxPyCharmProjects
• We can create many Python files under that
project. Each file has .py extension
• A Project is a way to keep our code organized,
it is simply a folder on our hard drive
PSIS 2105: Programming & Computing Foundations I
Python file
• Any code is simply a text file
• It can be opened with any text editor, such as
Notepad and TextEdit
• But we will open it, create it, and update it using
the text editor within PyCharm
• File extension for all Python files is .py
• File names should be lower case and have no
spaces
hello.py
print(“Hello World”)
PSIS 2105: Programming & Computing Foundations I
What is the Python Shell?
• Run one
line of
code at a
time
• Can use it
to try out
one
command
• Like a “shell” command-line environment
PSIS 2105: Programming & Computing Foundations I
IDLE is also an IDE
• Run IDLE. Choose File – New File.
• File – Save As.
• Choose a folder that you know where you
can find the code later
• File name: hello
• Click Save
• Type in the code
• Run – Run Module
• File – Save
PSIS 2105: Programming & Computing Foundations I
Purchase answer to see full
attachment