first commit

This commit is contained in:
Hizenberg469
2025-03-06 09:38:05 +05:30
parent 799c8c84f7
commit c9197f21c4
2 changed files with 18 additions and 8 deletions

View File

@@ -7,16 +7,25 @@
There
'''
Formatting String:
->Formatting String:
for python 3:
f'....{<variable-name>}.....{<variable-name}...'
for python 3:
f'....{<variable-name>}.....{<variable-name}...'
'Hello there {} and {}'.format(name1, name2)
'Hello there {} and {}'.format(name1, name2)
'Hello there {1} and {0}'.format(name1, name2)
'Hello there {1} and {0}'.format(name1, name2)
{1} : name2
{0} : name1
{1} : name2
{0} : name1
'Hello there {var1} and {var2}'.format(var1 = value, var2 = value)
'Hello there {var1} and {var2}'.format(var1 = value, var2 = value)
-> Creating virtual environment:
For creating virtual environment:
Use:
python -m venv <environment-folder-name>
source .venv/bin/activate
python -m pip install --upgrade pip setuptools wheel