Integrated development environment

Assignment Help Business Management
Reference no: EM132900722

Part 1:

Python comes with a program called an IDLE, which belongs to a type of software known in computer science as an IDE (Integrated Development Environment). IDE's make programming easier, because they color the code for you, give you quick access to built in functions, debug your code, and allow you to run your code from the IDE instead of using the command line.

We will use IDLE in this course, but you are welcome to use ANY IDE you like! Or if you simply like to go old school and type your programs in a text editor (like Notepad) and run it manually through the command prompt, that is fine also! :)

Follow these steps to write your 1st Python program with IDLE:

1- Start IDLE, and select New File from the File menu

2- Type: print ("Hello world")

3- Save the file, by going to the File menu, make sure to save the file as with a .py extension. So you can call it hello.py or bifs617_wk2.py

4- Run the program by going to the Run menu and select Run Module

5- Congratulations! You've written and run your 1st Python program ;)

Questions:

1- What is print in your program actually doing? And why is "Hello world" between double quotes?

2- Add your name and the date to the code above, as comment lines (see Chapter 2 of text book on how to do this)

3- Take a snap shot of your code and paste it (or attach it) to your response. Also mention any issues you might have had.

Part 2: One of the key elements of designing a good program is to allow the user(s) to interact with it. You can do so by asking the user to input a file name, a string representing a DNA sequence, or just a number. These input that are coming in from the user get stored in variables, and make your program more interactive. They also allow you to write a general program that can work for any input (the user (or you) can run your program 100 times and each time input a different DNA sequence for instance).

The Python function to ask for use input, is simply called input()

Here is an example of how it can be used:

DNA = input("Enter a DNA sequence")

When you run this, you will see the string "Enter a DNA sequence", followed by a blinking line. That means Python is waiting for you to type in something! Once you type in a bunch of characters and hit enter, Python will grab what you typed and assign it to the variable DNA. So the string the user typed is now stored in memory and can be accessed by using the name DNA.

Reference no: EM132900722

Questions Cloud

Communal coffee-drinking experience is intact at starbucks : How could Howard Schultz test his assumption that the intimate communal coffee-drinking experience is intact at Starbucks?
Describe the three-line items of multistep income statement : Describe the three-line items of the multistep income statement. Explain why it would be important for a company to break out its income in this manner.
What distinctions among procedural and distributive justice : What are the distinctions among procedural, interactional, and distributive justice? List ways in which you could increase each of these justice perceptions.
Analyze and discuss three international factors : Analyze and discuss three international factors you think would affect the cost of the products made at the companies you selected and why.
Integrated development environment : Python comes with a program called an IDLE, which belongs to a type of software known in computer science as an IDE (Integrated Development Environment).
Most challenges for economy : What types of unemployment do you think present the most challenges for the economy and why?
Describes four criteria for analyzing acting : Your chapter on Acting describes four criteria for analyzing acting
Provide with most accurate cost data as a manager : Identify which set of financial statements you think is the easiest to understand and provides you with most accurate cost data as a manager.
Identify key compliance and regulatory requirements : Compare and contrast basic U.S. and international financial accounting standards. Identify key compliance and regulatory requirements.

Reviews

Write a Review

Business Management Questions & Answers

  Countries with a different language

Why is language a significant deterrent for companies that try to expand to countries with a different language?

  Prepare a wbs that includes all project tasks and durations

Prepare a Work Breakdown Structure (WBS) that includes all project tasks (hierarchically grouped) and durations. Establish task precedence relationships.

  Core hr requirements of an organization

To align the core HR requirements of an organization with its strategic plan, you will conduct an HRM review of an organization in a case study. Be creative in assembling each of the individual components or HR tools to the HRM review so that they..

  Research and development functions of the steel firm

India's Tata Steel has reorganised its management structure to realise its corporate goal of becoming a leading player in the global steel industry.

  Compute the irr for project

a. If the company requires a 10 percent return on its investments, should it accept this project? Why? b. Compute the IRR for this project. How many IRRs are there? If you apply the IRR decision rule, should you accept the project or not? What's ..

  Living and buying power of the wage earners

Do you believe higher minimum wage raise the standard of living and buying power of the wage earners?

  Show corporate culture influences

Show the importance of organizational culture, its importance relative to organization goals and situations that may influence culture within an organization.

  Explain employee relations

Explain Employee Relations Please respond to the following- Analyze the importance of determining whether an employee issue is related to behavior or performance

  Explain with the aid of diagrams

Explain with the aid of diagrams how this affects the world interest rate, and how this affects the Canadian interest rate

  Hiring and laying off workers regularly

A chase strategy often involves hiring and laying off workers regularly. The text mentions that the costs of hiring, layoff, and training may be significant.

  What is the economic order quantity

What is the economic order quantity (EOQ) for purchases of glass (units, not cases)? (Display your answer to the nearest whole number.)

  Examine the market size and growth

Examine the Market Size and Growth. Compute a large enough market potential for the venture to be profitable and examine the potential for growth.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd