Advertisements
Advertisements
प्रश्न
Which command is used to convert text into integer value?
कोड लेखन
Advertisements
उत्तर
- The
int()built-in function is used to convert text into an integer value. - Example:
n = int(input("Enter a number: "))
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
