Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Choose an editor to write Python code. You can use any editor for Python, including Eclipse, IntelliJ, etc. You can find instructions for setting up

  • Choose an editor to write Python code. You can use any editor for Python, including Eclipse, IntelliJ, etc.
    • You can find instructions for setting up Eclipse, IntelliJ, etc. to develop in Python on and Google searching.
    • I recommend learning PyCharm which is produced by the same vendor (JetBrains) that makes IntelliJ. You can acquire a free educational copy of PyCharm (and other Jetbrains tools) here (Links to an external site.).
  • Explore Python coding using one of the following resources:
    • We will cover some basics of Python in class in Week 3.
    • FreeCodeCamp introduction video (Links to an external site.). (4 hours)
      • This video is a couple of years old, but it is a good overview and will serve our purposes.
    • W3Schools has a good Python reference site here (Links to an external site.).
    • There are many other books and videos available online for free.
  • Choose a simple program you wrote previously in Java from any class (including ours), or write one in java, and then convert it to Python.
  • In the context of this assignment let's define "simple" as more than a one-line "Hello World" program. For this exercise, convert a program that contains at least most of the following Java language features:
    • Some variables of different data types
    • A decision structure (if or switch)
    • A loop of any kind (for, while, do-while)
    • A simple array.
    • Console output with some form(s) of print/printf/println.
    • And any other language features you'd like to try, such as creating a class, methods (functions), reading from a file, etc.
  • You can see an example of a Java program converted to Python here (Links to an external site.). Do not use this sample Java program for your assignment.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design And SQL For DB2

Authors: James Cooper

1st Edition

1583473572, 978-1583473573

More Books

Students also viewed these Databases questions

Question

What must a creditor do to become a secured party?

Answered: 1 week ago

Question

When should the last word in a title be capitalized?

Answered: 1 week ago