Python 3.6 and above
Use f-strings.
first_name = 'Taro' full_name = f'Tanaka {first_name}' print(full_name) # => 'Tanaka Taro'
-Grammar function added from Python3 \ .6 -Qiita
Recommended Posts