Python Projects

Bio- Data For Website Users

PREREQUISITES

To Practice this Program, you should have a basic knowledge of the following Topics:

PYTHON-FUNCTIONSS

INPUT FUNCTION

We will use Input Function to collect data from the website user into variables.

PYTHON-FUNCTIONSS

PRINT FUNCTION

We will use Print Function to output the final result.

WHAT TO DO ?

Collect Data from Website User and Print Out C.V in the Following Format :

Name : ____
Email : ____
Mobile : _____
Address : _____
About me:
_________________________
Professional Experience:
_________
Education Qualifications:
_________
Skills:
_________
Personal Information:
Father’s Name: ____
Marital Status : ____
Hometown : _____
HOW TO DO ?

Following are the steps to do :

01.

COLLECT DATA

At First, We have to Collect Data with Input Function in Variables.

</p>
<div class="wp-block-codemirror-blocks-code-block code-block">
<pre>name = input("Write your name ? ")
email = input("Write your email ? ")
mobile = input("Write your mobile Number ? ")
address = input("Write your address ? ")
print("Write something about yourself ? ")
about_me = input("")
print("Write your Professional Experience ? ")
professional_experience = input("")
print("Write your Educational Qualifications ? ")
education = input("")
print("What skills do you have ? ")
skills = input("")
father = input("Write your Father's Name ? ")
marital_status = input("State your Marital Status ")
hometown = input("Where is your hometown ? ")
</pre>
</div>
<p>

02.

PRINT DATA

Finally, We will Output/Print Out the Data in the mentioned format using Print Function.

</p>
<div class="wp-block-codemirror-blocks-code-block code-block">
<pre>print() # Creating Gap with blank line.
print() # Creating Gap with blank line.
print("# Now Printing/Outputing the C.V")
print()
print("Name: " + name)
print("Email-id: " + email)
print("Mobile Number: " + mobile)
print("Address : " + address)
print()
print("About Me: ")
print(about_me)
print("Professional Experience: ")
print(professional_experience)
print("Educational Qualifications: ")
print(education)
print("Skills: ")
print(skills)
print()
print()
print("Personal Information")
print("Father's Name: " + father)
print("Marital Status: " + marital_status)
print("Hometown: " + hometown)</pre>
</div>
<p>
Things We Covered
  • Accepting User Data (Input Function)
  • Creating a Blank Line (Blank Print Function)
  • Print/Output the Data (Input Function)

Posted by Akshay Gupta

previous-lecture

PREVIOUS - LECTURE 1

Print, Input Len

next-lecture

NEXT - LECTURE 2

DATA TYPES – Strings, Integer, Float | Escape 

Leave a Reply

Your email address will not be published. Required fields are marked *