Python program in a .py file that includes the following: Define and test a function createRestaurantLogo that expects a name and creates a logo for your restaurant with a geometric shape and text. Save the image. Add the logo to the top of a menu text file and save the result.

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
100%

Write a Python program in a .py file that includes the following:

  1. Define and test a function createRestaurantLogo that expects a name and creates a logo for your restaurant with a geometric shape and text. Save the image.
  2. Add the logo to the top of a menu text file and save the result.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Follow-up Questions
Read through expert solutions to related follow-up questions below.
Follow-up Question

As seen in the screenshot when I am utilizing the code in the answer here in IDLE I am getting an error code. I have not been able to troubleshoot past it. What am i doing wrong? 

CIS156 13400 Lesson Home - Rio X
↑
EXPERT
SOLUTION
Lesson 7: Simple Graphics & Imac X Gwhat are fractals - Google Search X
✰ bartleby.com/questions-and-answers/python-program-in-a-.py-file-that-includes-the-following-define-and-test-a-function-createrestaurant/5dec4335-449d-42f3-b544-760f6c91a5d9
RECOMMENDED
QUESTIONS
✓
Homework help starts here!
IDLE Shell 3.10.5
File Edit Shell Debug Options Window Help
Python 3.10.5 (tags/v3.10.5:f377153, Jun 6 2022, 16:14:13) [MSC v.1929 64 bit (^
AMD64)] on win32
Type "help", "copyright", "credits" or "license ()" for more information.
>>>
>>>
Type here to search
= RESTART: C:/Users/atodorovic/Documents/Academics/CIS
2742/Lesson7 Project2_Har2142742.py
mandelbrot set - Google Search X h Answered: Python program in a
Traceback (most recent call last):
File "C:/Users/atodorovic/Documents/Academics/CIS 156/Lesson7 Project_Har214274
156/Lesson7 Project_Har214
2/Lesson7Project2_Har2142742.py", line 48, in <module>
myPen.write ("BEST FOOD", None, None, "24pt bold")
"C:\Users\atodorovic\AppData\Local\Programs\Python\Python310\lib\turtle.p
File
y", line 3433, in write
end = self._ write (str (arg), align.lower (), font)
AttributeError: 'NoneType' object has no attribute 'lower'
O
H
ASK AN EXPERT |
cludes the follow...
X +
CHAT √ MATH SOLVER
pp
Flood
12:49 PM
7/28/2022
⠀
Transcribed Image Text:CIS156 13400 Lesson Home - Rio X ↑ EXPERT SOLUTION Lesson 7: Simple Graphics & Imac X Gwhat are fractals - Google Search X ✰ bartleby.com/questions-and-answers/python-program-in-a-.py-file-that-includes-the-following-define-and-test-a-function-createrestaurant/5dec4335-449d-42f3-b544-760f6c91a5d9 RECOMMENDED QUESTIONS ✓ Homework help starts here! IDLE Shell 3.10.5 File Edit Shell Debug Options Window Help Python 3.10.5 (tags/v3.10.5:f377153, Jun 6 2022, 16:14:13) [MSC v.1929 64 bit (^ AMD64)] on win32 Type "help", "copyright", "credits" or "license ()" for more information. >>> >>> Type here to search = RESTART: C:/Users/atodorovic/Documents/Academics/CIS 2742/Lesson7 Project2_Har2142742.py mandelbrot set - Google Search X h Answered: Python program in a Traceback (most recent call last): File "C:/Users/atodorovic/Documents/Academics/CIS 156/Lesson7 Project_Har214274 156/Lesson7 Project_Har214 2/Lesson7Project2_Har2142742.py", line 48, in <module> myPen.write ("BEST FOOD", None, None, "24pt bold") "C:\Users\atodorovic\AppData\Local\Programs\Python\Python310\lib\turtle.p File y", line 3433, in write end = self._ write (str (arg), align.lower (), font) AttributeError: 'NoneType' object has no attribute 'lower' O H ASK AN EXPERT | cludes the follow... X + CHAT √ MATH SOLVER pp Flood 12:49 PM 7/28/2022 ⠀
Solution
Bartleby Expert
SEE SOLUTION
Similar questions
  • SEE MORE 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