0
What's the error?
print ("Wanna know ideal age of gf?") Your_age = input("Put your age : ") Your_fav_number = (4) print ("Ideal age of your gf is" + str (Your_age + Your_fav_number ) )
3 Antworten
+ 2
input() return string, that mean Your_age value is string, but you try to add it with int at the last line. Thats why
Convert the input to int, it should work
+ 1
int(input("somethinh"))
0
can you edit it and give it to me?