I am using run python for VS code. Other function like print() and input() are worked but now work
int(),float(),bool() data conversion predefined functions. My python version is 3.12.3. Why those function is not working…?
birth_year = input('Birth year: ')
age = 2024 - int(birth_year)
print(age)
This is the code which is not working.
How does I run those predefined functions..?
New contributor
sachith avintha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
2