<jupyter_start><jupyter_text>result= 100/777<jupyter_code>result= 1000/777
result=103.78965
print("the result was {r:1.3f}".format(r=result))
print("the result was {r:10.5f}".format(r=result))
 
'Python %s' %'rules!'   # format rules
name= "vikram"
print('Hello, his name is {}'.format(name))
 print(f'Hello, his name is {name}')
name='vikram'
age=23
print(f'{name} is {age} year old')
# print formatting<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.18663594470046083, 'fraction_numerical': 0.06451612903225806, 'mean_word_length': 7.2075471698113205, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '344811', 'license': 'MIT', 'n_tokens_mistral': 195, 'n_tokens_neox': 174, 'n_words': 38, 'path': 'Python/New folder/string formatting for printing.ipynb', 'repo_name': 'vikramdevraj/python-programming', 'size': '434'}