Python Installation & Hello World

Homework 1 ● Note: ​Plagiarism​ is serious. Please only submit ​your own work from your own computer.

○ Googling is encouraged. ○ Independent work only. ○ Helping each other install python is encouraged. ○ Running code for others is wrong.

● Feel free to email me or TAs, all emails on Blackboard, the “Announcement” section ● Submit electronically to Blackboard For this homework, you’re asked to upload ​some screenshots​, a text file

named ​”homework1.txt” (or another text suffix, doesn’t have to be txt)​, and a python file named ​”test.py”​. ​See blue font below. ​You can zip everything into 1 file, or just upload individual files.

Task 1 — Python Installation & Hello World

Description Install Python 3.8.x, understand how to get into the Python shell. Python shell is a quick way to test code snippets and perform quick testing, it’s crucial to know how to open it, how to use it, and how to exit.

Requirement ● Display Python version. There are a few ways to know the version, of which “python3 –version” is probably the

easiest way. ​Attach a screenshot that shows your Python version​, using any method. (Why do we care about the Python version? Each newer version is slightly (or vastly) different from the previous version, for basic stuff, Python keeps backward compatibility and things behave more or less the same. Still there might be some differences here and there, it’s good to be aware of versions early on)

● Print “Hello World!” in python shell. ​Attach a screenshot that shows how you get into the python shell, and print “hello world!” to screen, then show how you exit. ​(​Hello world is a typical first step in programming. For python it’s ealy, 1 line. As compare to Java, we’ll have to learn to create a class first. )

Example screenshots Please ignore my older python versions, your version should be 3.8.x

 

 

 

 

Task 2 — Install Pandas, Numpy, Matplotlib, Seaborn

Description Install Pandas, Numpy, Matplotlib, Seaborn, then provide screenshots to show success. You can use terminal to run “pip3 install xxx” or “pip install xxx” on some systems, or install inside of PyCharm, feel free to google how to do that.

Requirement

● For pandas: ○ login to python shell and do “import pandas; dir(pandas)” similar to what I show in the example below.

Your screenshot doesn’t have to include the full content of ‘dir(pandas)’ if it’s too long. ​Please attach a screenshot.

○ Please describe what builtin function “dir()” does, using <100 words, the shorter the better. ​Write to homework1.txt file.

○ Please try using “dir()” on another builtin function we just learned. ​Attach screenshot.

● For numpy: ○ Command line “one-liner” to do the same task as for pandas above. See example below.

python3 -c “import numpy; print(dir(numpy))”. If “python3” doesn’t work, use “python”. ​Attach screenshot. ○ Please google, then describe what “python3 -c” (or “python -c” does, use <100 words or as few as

possible. ​Write to homework1.txt file. (Why do we ask about this: Googling is a must when it comes to programming.)

 

 

 

Example Screenshots

 

 

 

 

Task 3 — PyCharm | Text Editor

Description For any programming, you will need a text editor. PyCharm is commonly considered the best when it comes to Python. Other choices include: Sublime, emacs, vi (or vim). If you want to challenge yourself, try vim.

Requirement ● Use PyCharm (or other editor), to create a python file called ​”test.py”​. In this file, let’s put a simple line “print

‘Hello world!'” in it, or anything simple of your preference. The actual code doesn’t matter much, as long as it prints something to screen.

● Please run this code inside of PyCharm. ​Attach a screenshot that shows the code as well as the running result. If you use another editor that can’t run Python, skip this task.

● Find this file on your computer, and ​submit the file to blackboard​. The actual file content may vary, the purpose of this task is to find the file.

● Command line running python code: find the file you just wrote, and run it on command line using “python3 test.py”, or with the full path: “python3 /User/xxx/PycharmProject/yyy/test.py”. ​Attach a screenshot showing how you run it, and the result. (why do we need to command line run python code, don’t we have pycharm that does everything for us? Yes, pycharm is great and I love it too, yet we may not always have pycharm, say another computer in the office, or a remote server login using ssh. In a lot of cases, pycharm is not available and vim being the only editor available on most linux servers. Plus, “python3 xxx.py” is the official way of running python code. PyCharm is just a tool that makes things simple )

We confidently assure you high-quality work. We engage a number of strategies in to guarantee top-level assignments. The projects go through a thorough system of control prior to being submitted to the customers. Studentscoursework.com guarantees that the assignments delivered are 100 percent plagiarism-free.

We never share or resell customer’s work. Therefore, once it is checked using our plagiarism software, the assignment will be original. In terms of assignment completion, we adhere to the guidelines given by you and assign the work to the most suitable writer. We assign our writers based on various factors such as academic qualification, previous customer feedback, etc.

First and foremost, we provide high-quality work. However, in case you require extra-brilliance, here is what you can do. First, select a top writer who is proficient in a certain discipline. Second, you can seek our editing services.

Our team of editors revises the assignments, checking them to ensure they comply with the standards of academic writings. Additionally, editing may entail refining the language, adding more reference material, and making sure the formatting part is properly done. The editors may also enhance papers completed by yourself in to meet your needs.

We guarantee the following quality in our work to you:

  • Properly cited scholarly sources from assigned or outside reading and research.
  • No wordy, vague or poorly constructed sentences
  • Clearly written and structurally sound sentences, with no grammar, spelling and/or punctuation errors.
  • Assignments with proper syntax, that demonstrates mastery of the subject, and with clear organization flow.
  • Strict adherence to requested citation styles (i.e. APA, MLA, HARVARD, CHICAGO/TURABIAN)
  • Proper page numbering, heading, spacing and margins.
  • Parenthetical citations are in the proper format, are properly punctuated and are used at appropriate points to document source material.
  • Plagiarism free guaranteed work.
  • Expert proofreading.

We use the following tools to crosscheck our assignments:

  • Turnitin
  • Grammarly

 

Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more

Order your paper today and save 30% with the discount code HAPPY

X
Open chat
1
You can contact our live agent via WhatsApp! Via + 1 323 412 5597

Feel free to ask questions, clarifications, or discounts available when placing an order.

Order your essay today and save 30% with the discount code HAPPY