Back to Browse

String Format - Python Tutorial - w3Schools - Ch#13 English

163 views
Jul 20, 2022
7:33

we can combine strings and numbers by using the format() method! The format() method takes the passed arguments, formats them, and places them in the string where the placeholders {} are. The format() method takes unlimited number of arguments, and are placed into the respective placeholders. You can use index numbers {0} to be sure the arguments are placed in the correct placeholders.

Download

1 formats

Video Formats

360pmp410.3 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

String Format - Python Tutorial - w3Schools - Ch#13 English | NatokHD