Intro to Python-Homework 2-INT-2240
Intro to Python-Homework 2-
- What is a variable?
- Which of the following are illegal variable names in Python, and why?
x
99bottles
july2009
theSalesFigureForFiscalYear
r&d
grade_report - You need the user of a program to enter a customers last name. Write a statement that prompts the user to enter this data and assigns the input to a variable.
- Write a program that displays the following information: use a fake address and phone number
• Your name
• Your address, with city, state, and ZIP (use this address: 1500 Havenwood Rd, Baltimore, MD 21218)
• Your telephone number (use: 555-555-5555)
• Your college major - Celsius to Fahrenheit Temperature Converter
Write a program that converts Celsius temperatures to Fahrenheit temperatures. The formula
is as follows The program should ask the user to enter a temperature in Celsius, and then display the
temperature converted to Fahrenheit.
Answer Preview-Intro to Python-Homework 2-INT-2240
$3.00