We can also do operations within an F-string. Any Python statement can be evaluated within the {} in an F-string. The result of this operation/statement is printed within the F-String.
The capitalize() method here capitalizes the first letter of the string. ie. tom becomes Tom.