#Input Function waits for the user to type some text on the keyboard
myname=input("Enter your Name :")
print("Hello ,My Name is ", myname)
#len() length Function Find the Number Words given String out Put Should Be Integer
#Example len(Python)---> Python having 6 Charters
print("Length of Python Is ",len("python"))
# integer to String Convertion in Python
value ='I have eaten ' + str(99) + ' burritos.'
print(value)
#string to integer convertion in Python
value="99"
print(1+int(value))
#The == operator (equal to) asks whether two values are the same as each
#other.
#The = operator (assignment) puts the value on the right into the variable
#on the left.
No comments:
Post a Comment