You are on page 1of 5

TOPIC - BASIC INPUT AND

OUTPUT
NAME - DIPALI MENGAL
PRN – 22010501122
GROUP- 25
INTRODUCTION TO INPUT AND
OUTPUT
• Python Input Output (I/O) Using input() and print()
Function. A good program should effectively
communicate any input in Python from the user
and display a result to the outside world. A user
can give a program input manually from a
keyboard or use data from an external source,
such as a file or a database.
Finding the input and output of a function
depends on how the function is expressed. If the
function is expressed as a table, the columns are
the inputs and outputs. If the function is expressed
as a graph, the labels on the bottom and left axes
of the graph are the inputs and outputs. If the
function is expressed as an algebraic expression,
the expression itself will determine what numbers
will work (the inputs) and these, in turn, will
determine the outputs.
INPUT OUTPUT
• An input variable is a system parameter that • A variable whose Output property is Yes is an
influences the system performance in the output variable. When the script runs, any
chosen output response. value assigned to the variable is saved for use
outside of the script. Its value is output to
external storage when the script executes.
• # Taking input from the user
• name = input("Enter your name: ")
• # Python program to demonstrate
• # print() method
• # Output
• print("GFG")
• print("Hello, " + name)
• print(type(name))
• # code for disabling the softspace feature
• print('G', 'F', 'G')
THANK YOU

You might also like