Respected Sir, i give the value to the input of the following code written in input.py, but it throws error Code: #!/bin/bash name = input("What's your name? ")
It doesn’t throw error only if I give input in double quotes.
Would you please tell me why is that so?
But when I try the code below, as opposed to what’s shown in the course, it doesn’t throw any error and accepts integer…why? age = input("What's your age? ")
`age2 = age + 1`
`print("So next year you will be %d years old!" % age2)`