Answers for "typeerror int object is not subscriptable"

2

int object is not subscriptable

name1 = input("What's your name?: ")
age1 = input("How old are you?: ")
x = int(age1)
twentyone = 21 - x
print("Hi, " + name1 + " you will be 21 in:", twentyone, "years.")
Posted by: Guest on September-03-2021

Code answers related to "typeerror int object is not subscriptable"

Python Answers by Framework

Browse Popular Code Answers by Language