#string-formatting

[ follow ]
#python
Realpython
2 months ago
Data science

How to Format Floats Within F-Strings in Python - Real Python

F-strings in Python (Python 3.6 and later) allow for concise and customizable string formatting with dynamic content. [ more ]
Realpython
2 weeks ago
Python

Python String Formatting: Available Tools and Their Features Quiz - Real Python

Test Python string formatting knowledge with interactive quiz. [ more ]
Realpython
2 months ago
Data science

How to Format Floats Within F-Strings in Python - Real Python

F-strings in Python (Python 3.6 and later) allow for concise and customizable string formatting with dynamic content. [ more ]
Realpython
2 weeks ago
Python

Python String Formatting: Available Tools and Their Features Quiz - Real Python

Test Python string formatting knowledge with interactive quiz. [ more ]
morepython
Alvinalexander
2 months ago
Java

Java SimpleDateFormat example: How to convert a Date to a formatted String

The SimpleDateFormat class in Java allows easy conversion between Date and String formats.
Using SimpleDateFormat with Java is demonstrated with a custom date formatting approach. [ more ]
Realpython
6 months ago
Python

Python Basics Exercises: Strings and String Methods - Real Python

Manipulating strings with string methods
Working with user input
Dealing with strings of numbers
Formatting strings for printing [ more ]
The JetBrains Blog
7 months ago
Python

Unveiling Python 3.12: What's New in the World of Python? | The PyCharm Blog

Python 3.12 was released with new features and enhancements.
F-strings are now the preferred choice for string formatting in Python.
Improved error messages and recommendations for common developer mistakes. [ more ]
[ Load more ]