Home | Computer Science

<
Python

Program

Write a program use of variables


Program
INPUT

x=10 y=20.5 z='A' s="MAYANK BANSAL" print(x,y,z,s)

OUTPUT

<
Program

Program

Write a program use of \n


Program
INPUT

x=int(10) y=float(20.5) s=str("MAYANK BANSAL") print(x,"\n",y,"\n",s)

OUTPUT