ers from th

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter5: Looping
Section: Chapter Questions
Problem 2CP
icon
Related questions
Question
  1. Create a new module named beautyid.py.
    1. Define a function named  beautyidtag that accepts 4 parameters: face, hair, number, vitamins.
      1. The function should create a 10-digit identifier composed of the first 2 letters of the user input for the variable face, first 2 letters from the user input for the variable hair, the number from the variable number, the number of vitamins, and a random integer between 11 and 90. Identifiers must all be uppercase. 
  2. Return the value of the 10-digit identifier back to the calling method when called.

I have made another module called beautyinventory.py where the variables are stored. I'm going to import this module back into beautyinventory.py

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Binary numbers
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
Computer Science
ISBN:
9781337569798
Author:
ECKERT
Publisher:
CENGAGE L
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning