Let's begin:
Python is most beginner friendly program. Here provided the complete script:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a = float(input()) #Taking the input as float | |
print(a) # Printing the variable (a) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a = int(input()) #Taking the input as integer | |
print(a) # Printing the variable (a) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a = input() #Declairing a variable and taking input (which is set to srting by default in Python) | |
print(a) # Printing the variable (a) |
Comments
Post a Comment