Question: Programs in IDLE: Create a program in IDLE named yyyy lab1-1.py (where yyyy is your family name plus your first name initial). Opening a new

Programs in IDLE:

  1. Create a program in IDLE named yyyylab1-1.py (where yyyy is your family name plus your first name initial). Opening a new File, write and test a program that accepts the users name and age as input. (Be sure to convert the age to an integer.) Then output a sentence that uses both their name and their age.

A sample run: Getting to know you

Type your first name: Albert

How old are you? 21

Albert, 21 is a good age to be!

  1. Write a program in IDLE named yyyylab1-2 (where yyyy is as in no. 1) that converts pounds into kilograms. The program asks the user to type a number of pounds. It then converts that to kilograms and displays the result. One pounds is 0.454 kilograms.

This is a sample run (so that you can use this number and check the result):

This program changes pounds to kilograms.

Enter a value in pounds: 110.5

110.5 pounds is 50.167 kilograms

  1. The name of your project will be as specified in the lab (usually your last name and first initial followed by the lab number.
  2. Appropriate comments should appear in each procedure.
  3. The program informs the user of what it will do.
  4. The program uses only those skills that were learned in the current chapter or earlier chapters. This is to ensure that you can use those specific methods effectively.

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!