def user_input():
user_input = input
name = input("enter your name ")
print("hello "+ name +"!")
print("welcome to gymbros press 1 to continue :")
if input == 1():
print("this is the personal record page where you post your best lifts ")
else:
print("thanks for using gymbros")
####################################
Im not sure what im doing wrong it keeps giving me the, TypeError: ‘int’ object is not callable
>Solution :
input() return type is str and int is not callable.
user_input is not used
It is recommended that you learn the basic syntax of Python first
name = input("enter your name ")
print("hello", name, "!")
print("welcome to gymbros press 1 to continue :")
if input() == "1":
print("this is the personal record page where you post your best lifts ")
else:
print("thanks for using gymbros")