Python Homework ECE 1 This week, you will watch a series of videos on lynda.com to teach you the basics...
Python Homework ECE 1 This week, you will watch a series of videos on lynda.com to teach you the basics of Python. This class assumes you have some basic knowledge of programming, which was taught by the previous series of videos we watched over the past two weeks. I you have not completed those videos, and you do not have previous experience with programming, finish those videos before beginning the Python courses. You can download and install a programming environment for working with Python if you want. If not, you can go to http://pythonfiddle.com/ to have an online python interpreter. This works well for basic assignments like that in this class, although it will be woefully inadequate for future projects in other classes. 1. Watch the following section in Up and Running with Python with Joe Marini on lynda.com: 1. Introduction 2. Preparing the Development Environment 3. Python Basics 4. Working with Dates and Times 2. Create a simple “Hello, World!” program using Python 3. Write a program that calculates n! (n-factorial). The program should at the beginning of the calculation print “Now calculating n!”, with “n” being whatever real integer is being used in that instance of the program. It should then print what n! calculates to. 4. Write a program that uses loops to generate pyramid-like shapes as shown below, using dashes:
11 years ago
5
- EDU 620 wk 2 db 2
- eco 365 wk5
- Political science homework
- Review Ford Motor Company's Form 10-K for 2013. Explain the purpose of a company’s 10-K and how it interprets the firm’s financial strength.
- Investment
- research paper
- Should a company be allowed to refuse to hire a drug offender? Does this differ from the Geisinger Health systems decision? Why or why not?
- Critical Infrastructures
- NO MORE 2 HOUR MAX CLEAN WORK
- ATT SURAYA