Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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).

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 by typing your programs in a text editor (like Notepad) and run it manually through the command prompt, that is fine also! :)

Follow these steps in writing 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 isprint in your program actually doing? And why is "Hello world" between double quotes?

2- Add your name and the date to the code above, ascomment lines

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.

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

Java Programming

Authors: Joyce Farrell

9th edition

1337397075, 978-1337397070

Students also viewed these Programming questions