Source Code
a=int(input("Enter the value to take as integer"))
print("input int is :",a)
b=float(input("Enter the value to take as float"))
print("input int is :",b)
c=int(input("Enter the value to take as string"))
print("input int is :",c)
d=input("Enter the value which save it string default and showing as input function")
print("input int is :",d)
e=int(input("Enter the 1st value to find the max value"))
f=int(input("Enter the 2nd value to find the max value"))
g=max(e,f)
print("Max value between a and b is :",g)
e1=int(input("Enter the 1st value to find the min value"))
f1=int(input("Enter the 2nd value to find the min value"))
g1=min(e1,f1)
print("Minimum value between a and b is :",g1)
h=input("Enter the string to count the length")
print(len(h))
Enter the value to take as integer5input int is : 5Enter the value to take as float5input int is : 5.0Enter the value to take as string6input int is : 6Enter the value which save it string default and showing as input function78input int is : 78Enter the 1st value to find the max value4Enter the 2nd value to find the max value5Max value between a and b is : 5Enter the 1st value to find the min value8Enter the 2nd value to find the min value6Minimum value between a and b is : 6Enter the string to count the lengthPYTHON6
No comments:
Post a Comment