CEIS100 W5 ILab Report

Topics: Programming language, Code, Computer program Pages: 5 (320 words) Published: April 12, 2015
Laboratory Report Cover Sheet
DeVry University
College of Engineering and Information Sciences

Course Number: CEIS100
Professor: D. Morabito
Laboratory Number:
Laboratory Title: Creating a Program Using Python

Submittal Date:

1. Objectives:

The objective was to create a program using python. The program should successfully ask the user to input his or her name. Then ask the user to enter his or her age. If they are older than 16 then they can drive a car. Display this message along with their name. Then end the program by stating the users name, and that it is nice to meet them.

Code—copy and paste (or type) your code below. You can also post a screenshot of the program working if you would like.

print("Welcome to the get to know your program")
name = input("What is your name? ")
age = int(input("What is your age? "))
if age>=16:
print("You can drive a car!")

print(name)
print("Nice to meet you")

Part B.

print("Welcome to the get to know your program part b")
name = input("What is your name?")
city = input("What city do you live in?")
temperature = float(input("What is the temperature outside? ")) if temperature>=61 :
print("It is nice where you live.")

print(city)
print("Nice to meet you!")

Conclusions:

In conclusion the code I entered was successful. I did not expect coding to be based more off the human language as much as it is. However the smallest mistake can create a world of trouble when writing code. I am still undecided if I like the IDLE tool or not. So far notepad++ is my choice for writing code with the python shell. Coding can be a long process but as long as you can remember the language and terminology such as format, method, variables, indexes and slices etc… then it appears to be less difficult.

Student:
Anthony Tessensohn

CEIS100

Anthony P. Tess

Name

Program

Signature
Continue Reading

Please join StudyMode to read the full document

You May Also Find These Documents Helpful

  • CEIS100 W4 ILab Report Essay
  • Documents NETW208 W5 ILab Report Template Essay
  • NETW206 W3 Ilab Report Essay
  • Report Essay
  • Essay about Week 4 iLab Report
  • Week 3 iLab Report Essay
  • Essay on Documents NETW206 W2 Ilab Report
  • documents NETW360 W6 iLab Report Essay

Become a StudyMode Member

Sign Up - It's Free