0% found this document useful (0 votes)
75 views7 pages

Artificial Intelligence CS13217: Lab Manual

The document provides instructions for installing Python, Spyder, Keras, and TensorFlow. It discusses why Python is useful, its capabilities, and recent Python version releases. It also outlines steps to check if Python is already installed and how to install Anaconda for Python programming. The lab tasks involve installing the necessary software libraries, working with different data types like numbers and booleans, and implementing boolean logic operators using English words.

Uploaded by

Aqsa Tariq
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
75 views7 pages

Artificial Intelligence CS13217: Lab Manual

The document provides instructions for installing Python, Spyder, Keras, and TensorFlow. It discusses why Python is useful, its capabilities, and recent Python version releases. It also outlines steps to check if Python is already installed and how to install Anaconda for Python programming. The lab tasks involve installing the necessary software libraries, working with different data types like numbers and booleans, and implementing boolean logic operators using English words.

Uploaded by

Aqsa Tariq
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

Lab Manual

Artificial Intelligence
CS13217

Experiment No # 9

Introduction to Python, spyder, keras and TensorFlow and installation.


Working with numbers, Integers, Boolean logic and floats.

Objective: To install how to install Python along with GUI spyder.

Introduction

1
Python is a programming language that lets you work more quickly and integrate
your systems more effectively.
It was initially designed by Guido van Rossum in 1991 and developed by Python
Software Foundation. It was mainly developed for emphasis on code readability,
and its syntax allows programmers to express concepts in fewer lines of code.
The latest versions released are below :

What can Python do?

 Python can be used on a server to create web applications.


 Python can connect to database systems. It can also read and modify files.
 Python can be used to handle big data and perform complex mathematics.

Why Python?

 Python works on different platforms (Windows, Mac, Linux, Raspberry Pi,


etc).
 Python has a simple syntax similar to the English language.
 Python has syntax that allows developers to write programs with fewer lines
than some other programming languages.
 Python runs on an interpreter system, meaning that code can be executed as
soon as it is written. This means that prototyping can be very quick.

The most recent major version of Python is Python 3


 2019-10-15 Python 3.7.5 is now available
 2019-10-14 Python 3.8.0 is now available
 2019-10-12 Python 3.5.8rc2 is now available

Python Install
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):

2
To check if you have python installed on a Linux or Mac, then on linux open the
command line or on Mac open the Terminal and type:

Installing Anaconda

Download and install Anaconda for Python 3.6 from:

https://www.anaconda.com/download/

(make sure there is empty space in installation path)

3
4
Lab Tasks:

1. Install python and its libraries keras, tensor flow and its GUI spyder.
2. Working with numbers, Integers, boolean and floats.

5
3.Implements all of the usual operators for Boolean logic, but uses English
words rather than symbols.

6
7

You might also like