Python- Details Printing

                            


 

 Python and detail Printer

As you know python is an open-source language now, we are going to start with our all-new project that is print details of the user using python!


Requirements:-

PYTHON INSTALLED COMPUTER


Steps to do:

Step 01:

Open your python module and create a new file named "<Your filename>.py"

Step 02:

In order to get the details and print them , we need an input section, It is hard to pre assign a value for the variables so , for asking input from the user we have a  module names as "Input()"  

Using this we are going to extract details from a user!

Step03:

Start coding!!!

Create a variable named as name and assign "input("Enter Your Name:")"

same way create an age input using ''int(input("Enter Your Age"))''

Int takes the integer input from the user...

#You can add more fields like Mail and password

Step 04:

Now as we have 2 inputs Now, we are going to print the data(s)

for this we use the following code

print ("Your name is: ", <your name input variable name>)

print ("Your Age is: ", <age input variable name>)

Images Of this project!








Comments