first commit

This commit is contained in:
Hizenberg469
2025-03-05 14:15:49 +05:30
commit 799c8c84f7
2 changed files with 25 additions and 0 deletions

3
Basic/hello-world.py Normal file
View File

@@ -0,0 +1,3 @@
var = '12345'
print(var[0:2])

22
Basic/wiki.txt Normal file
View File

@@ -0,0 +1,22 @@
-> String:
Multi-line string:
For ex:
'''
Hello
There
'''
Formatting String:
for python 3:
f'....{<variable-name>}.....{<variable-name}...'
'Hello there {} and {}'.format(name1, name2)
'Hello there {1} and {0}'.format(name1, name2)
{1} : name2
{0} : name1
'Hello there {var1} and {var2}'.format(var1 = value, var2 = value)