Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!