0% found this document useful (0 votes)
34 views9 pages

Data SC Manual

The document provides step-by-step instructions for installing Anaconda on Windows. It describes downloading the Anaconda installer, clicking through the installation wizard, selecting installation options such as destination folder and environment variable configuration, and completing the installation process. Upon completion, the user can launch Anaconda Navigator to begin using the Python distribution and packages.

Uploaded by

ARUNA GUDE
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)
34 views9 pages

Data SC Manual

The document provides step-by-step instructions for installing Anaconda on Windows. It describes downloading the Anaconda installer, clicking through the installation wizard, selecting installation options such as destination folder and environment variable configuration, and completing the installation process. Upon completion, the user can launch Anaconda Navigator to begin using the Python distribution and packages.

Uploaded by

ARUNA GUDE
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/ 9

Anaconda Installation for windows

1. Click on the link below to open the download page

https://www.anaconda.com/products/distribution#windows

2. Click on the Download button it will start downloading.

NOTE:
i. the installer is
larger than
the average
file, because it
contains
Python,
including
packages,
code editor,
and some
other gadgets.
ii. You will be downloading the Python 3 version (any version 3.5 or later is good). If you download Python 2.7,
our tutorial codes will not work.

3. Double click the installer to launch, it will open installation wizard Click on Next

4. Read the license agreement and click on “I Agree”


5. Select installation type “Just Me” unless you’re installing it for all users (which require Windows
Administrator privileges) and click on Next.

6. Select a destination folder to install Anaconda and click the Next button.
7. Choose whether to add Anaconda to your PATH environment variable. We recommend NOT
adding Anaconda to the PATH environment variable, since this can interfere with other
softwares. Instead, use Anaconda software by opening Anaconda Navigator or the Anaconda
Prompt from the Start Menu.
Choose whether to register Anaconda as your default Python. Unless you plan to install and run
multiple versions of Anaconda or multiple versions of Python, accept the default version and
leave this box checked.

8. Click the Install button.

9. If you want to watch the packages Anaconda is installing, click on Show Details.
10. Click on the Next button

11.

12. And then click the Finish button.


13. After a successful installation you will see the “Thanks for installing Anaconda” dialog box.
14. Go to Start, launch Anaconda Navigator
15.

2. Python Program to find ASCII value of given number.

# Program to find the character from an input ASCII value

# getting ASCII value from user


num = int(input("Enter ASCII value: "))
print(chr(num))

# ASCII value is given


num2 = 70
print(chr(num2))
3. Python Program to Make a Simple Calculator.

# Program make a simple calculator


# This function adds two numbers
def add(x, y):
return x + y
# This function subtracts two numbers
def subtract(x, y):
return x – y
# This function multiplies two numbers
def multiply(x, y):
return x * y
# This function divides two numbers
def divide(x, y):
return x / y
print("Select operation.")
print("1.Add")
print("2.Subtract")
print("3.Multiply")
print("4.Divide")
while True:
# take input from the user
choice = input("Enter choice(1/2/3/4): ")
# check if choice is one of the four options
if choice in ('1', '2', '3', '4'):
num1 = float(input("Enter first number: "))
num2 = float(input("Enter second number: "))
if choice == '1':
print(num1, "+", num2, "=", add(num1, num2))
elif choice == '2':
print(num1, "-", num2, "=", subtract(num1, num2))
elif choice == '3':
print(num1, "*", num2, "=", multiply(num1, num2))
elif choice == '4':
print(num1, "/", num2, "=", divide(num1, num2))
# check if user wants another calculation
# break the while loop if answer is no
next_calculation = input("Let's do next calculation? (yes/no): ")
if next_calculation == "no":
break
else:
print("Invalid Input")

You might also like