3. Write one line of code for each step a - g. Save your code as PE2_3_YourName.py. All string text values should be lower case. Use string methods to change cases. a) Create variables greet and store “welcome to queensborough community college!" into greet. b) Display greet with string method, capitalize(). c) Create variables first, last and use multiple assignment to store your first name in first and last name in last. d) Use concatenation to store the data from first and last separated by a space into name. e) Use any of your three classes in this term and use multiple assignment to store your classes in to class1, class2, and class3. f) Use concatenation to store the data from class1, class 2, and class3 separated by a tab into courses. g) Display name and courses in two separated lines. Use string methods, title() for name and upper() for courses. Example Output Welcome to queensborough community college! Name: John Smith Classes: ET123 MA456 ENGL789

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

NEED HELP WITH...PASTE INDENTED CODE HERE

 

 

Write one line of code for each step a - g. Save your code as PE2_3_YourName.py.
All string text values should be lower case. Use string methods to change cases.
a) Create variables greet and store "welcome to queensborough community college!" into greet.
b) Display greet with string method, capitalize().
c) Create variables first, last and use multiple assignment to store your first name in first and last name in
3.
last.
d) Use concatenation to store the data from first and last separated by a space into name.
e) Use any of your three classes in this term and use multiple assignment to store your classes in to class1,
class2, and class3.
f) Use concatenation to store the data from class1, class 2, and class3 separated by a tab into courses.
g) Display name and courses in two separated lines. Use string methods, title() for name and upper() for
courses.
Example Output
Welcome to queensborough community college!
Name: John Smith
Classes: ET123
ΜA456
ENGL789
Transcribed Image Text:Write one line of code for each step a - g. Save your code as PE2_3_YourName.py. All string text values should be lower case. Use string methods to change cases. a) Create variables greet and store "welcome to queensborough community college!" into greet. b) Display greet with string method, capitalize(). c) Create variables first, last and use multiple assignment to store your first name in first and last name in 3. last. d) Use concatenation to store the data from first and last separated by a space into name. e) Use any of your three classes in this term and use multiple assignment to store your classes in to class1, class2, and class3. f) Use concatenation to store the data from class1, class 2, and class3 separated by a tab into courses. g) Display name and courses in two separated lines. Use string methods, title() for name and upper() for courses. Example Output Welcome to queensborough community college! Name: John Smith Classes: ET123 ΜA456 ENGL789
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 3 images

Blurred answer
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education