In this video, we learn how to use f-strings in Python. We take a look at string formatting prior to Python 3.6, and the drawbacks of it. We also look at why f-strings are powerful and versatile.
You can call functions, do mathematical operations, and more in f-strings!
Subscribe to 💎Datakademy to learn something new everyday! 📲
0:00 - What do f-strings do?
0:12 - Why f-strings are better than .format()
0:59 - Comparison of .format() and f-strings
1:30 - How to use an f-string
Auf dieser Seite können Sie das Online-Video How to Use F-Strings to Format Strings in Python | Python Tutorial Ep9 mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Datakademy 07 Juni 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 28 Mal angesehen und es wurde von 3 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!