In PCAP Course , under Topic : String and List methods → String actions command is like this as below :
age = 23
print(‘I am’ + str(age) + ‘years old’)
As per video O/P is shown as : I am 23 years old .
But i am getting error as TypeError: ‘str’ object is not callable
Can anyone suggest why ?