python little goal 12

Python Day 18

It is convenient to be able to output different strings freely while printing the text. Such as assigning different values to the “name” variable or various height to the “height” variable according to the context needs.

Format String: %s, %d

%s is used as a placeholder for string/character values  

%d is used as a placeholder for numeric/decimal values

  • Simple Numeric and String Variables

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Social media & sharing icons powered by UltimatelySocial
%d bloggers like this: