Python 3.6 und höher
Verwenden Sie F-Strings.
first_name = 'Taro' full_name = f'Tanaka {first_name}' print(full_name) # => 'Tanaka Taro'
Recommended Posts