Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Hep Variable ExplorerPlots Fle

Console 13/A X

In [321: runfile('C:/Users/cad pc/Desktop/Aditya B230761CE/Average. py', wdir='C:/Users/cad pc/Desktop/Adi tya


B230761CE')
Enter the numbers:19, 10
14.5

In [33):|

C:Userslçad pc\Desktop Aditya B23076 1CEVAverage.py

Average,py x Distance.py X Names.py X

3 a,b=input("Enter the numbers:").split(", ")


4 X=int(a)
5 y=int (b)
6 avg=(x+y)/2
7
print(avg)
8

Help Variable Explorer Plots Fles

Console 13/A X

.
In [27]: runfile('C:/Users/cad pc/Desktop/Aditya B230761CE/Names py', wdir='c:/Users/cad pc/Desktop/Aditya
B230761CE')
name:
Enter the first name:
nter the last Chauday
Aditya Chaudhary
In [28]: |

Name Type Size Value


firstName str 6 Aditya
lastName str 9 Chaudhary

C:Users\ad pcpesktop\Aditya B230761CE\Names.py

Average.py x Distance.py x Names.py X

firstName=input ("Enter the first name:")


2 lastName=input("Enter the last name:")
3 print (firstName, lastName)
4

Hep Vaniable Explorer Plots Fles

Console 13/A X

In [23]: runfile("C: /Users/cad pc/Desktop/Aditya B230761CE/Dis tance. py', wdir='C:/Users/cad pc/Desktop/Aditya


B230761CE')
Enter the co-ordinate of nfirst point:1,2
Enter the co-ordinate of second point:4,6
5.0
In [24]: |

You might also like