โŒ

Normal view

There are new articles available, click to refresh the page.
Before yesterdayMain stream

How to view manually installed packages in ubuntu

By: Hariharan
2 November 2024 at 18:49

Hi all in the blog post we are going to list down the packages we installed manually.

why we need that information?
when we set up a fresh Linux Distro or migrate existing or converting Linux installation into a docker image that will very helpful to us

how we are going to get this thing done?
using the aptitude (high-level package manager command-line interface)

install aptitude first if not present in your system

sudo apt install aptitude 

wait a few seconds to complete installation after completing the installation run the following command to find the manually installed packages after the initial run of the

comm -23 <(aptitude search '~i !~M' -F '%p' | sed "s/ *$//" | sort -u) <(gzip -dc /var/log/installer/initial-status.gz | sed -n 's/^Package: //p' | sort -u)

Image description

Voila we did it!

ML Day 1: เฎ•เฎฑเฏเฎ•เฏเฎฎเฏ เฎ‡เฎฏเฎจเฏเฎคเฎฟเฎฐเฎตเฎฟเฎฏเฎฒเฏ เฎฎเฏเฎคเฎฒเฏ เฎจเฎพเฎณเฏ เฎตเฎ•เฏเฎชเฏเฎชเฏ

By: Hariharan
14 September 2024 at 17:39

เฎชเฏˆเฎคเฏเฎคเฎพเฎฉเฏ เฎตเฎ•เฏเฎชเฏเฎชเฏ เฎฎเฏเฎŸเฎฟเฎจเฏเฎคเฎคเฏเฎฎเฏ 7-8 เฎจเฏ‡เฎฐเฎคเฏเฎคเฏˆ เฎชเฎฟเฎฑ เฎจเฎฒเฏเฎฒ เฎฎเฏเฎฑเฏˆเฎฏเฎฟเฎฒเฏ เฎชเฎฏเฎฉเฏเฎชเฎŸเฏเฎคเฏเฎค เฎตเฏ‡เฎฃเฏเฎŸเฏเฎฎเฏ เฎŽเฎฉเฏเฎฑ เฎ†เฎตเฎฒเฏ เฎ‡เฎฐเฏเฎจเฏเฎคเฎคเฏ.

เฎ…เฎชเฏเฎชเฏ‹เฎคเฏ เฎชเฏˆเฎคเฏเฎคเฎพเฎฉเฏ เฎตเฎ•เฏเฎชเฏเฎชเฏ เฎ•เฏเฎดเฏเฎตเฎฟเฎฒเฎฟเฎฐเฏเฎจเฏเฎคเฏ เฎ’เฎฐเฏ เฎšเฏ†เฎฏเฏเฎคเฎฟ เฎตเฎจเฏเฎคเฎคเฏ. เฎ•เฎฑเฏเฎ•เฏเฎฎเฏ เฎ‡เฎฏเฎจเฏเฎคเฎฟเฎฐเฎตเฎฟเฎฏเฎฒเฎฟเฎฒเฏ เฎ’เฎฐเฏ เฎ…เฎฑเฎฟเฎฎเฏเฎ• 3 เฎจเฎพเฎณเฏ เฎตเฎ•เฏเฎชเฏเฎชเฏ เฎคเฎฟเฎฉเฎฎเฏเฎฎเฏ 8:30 โ€“ 9:30 เฎŽเฎฉเฏเฎฑ เฎ…เฎฑเฎฟเฎตเฎฟเฎชเฏเฎชเฏเฎคเฎพเฎฉเฏ เฎ…เฎคเฏ.

เฎšเฎฐเฎฟ เฎ‡เฎจเฏเฎค เฎฎเฏเฎฑเฏˆเฎฏเฎพเฎตเฎคเฏ เฎ…เฎฉเฏˆเฎคเฏเฎคเฏ เฎตเฎ•เฏเฎชเฏเฎชเฏเฎ•เฎณเฏˆเฎฏเฏเฎฎเฏ เฎจเฏ‡เฎฐเฎฒเฏˆ เฎ…เฎฒเฏเฎฒเฎพเฎฎเฎฒเฏ เฎจเฏ‡เฎฐเฎŸเฎฟเฎฏเฎพเฎ• เฎ‡เฎฃเฏˆเฎฏเฎตเฏ‡เฎฃเฏเฎŸเฏเฎฎเฏ เฎŽเฎฉเฏเฎฑ เฎฎเฎฉ เฎ‰เฎฑเฏเฎคเฎฟเฎฏเฏเฎŸเฎฉเฏ เฎตเฎ•เฏเฎชเฏเฎชเฏเฎ•เฎณเฎฟเฎฒเฏ เฎ‡เฎฃเฏˆเฎจเฏเฎคเฏ เฎตเฎ•เฏเฎชเฏเฎชเฏเฎ•เฎณเฏˆ เฎ•เฎตเฎฉเฎฟเฎคเฏเฎคเฏ‡เฎฉเฏ.

เฎ‡เฎชเฏเฎชเฏ‹เฎคเฏ เฎตเฎ•เฏเฎชเฏเฎชเฎฟเฎฒเฏ เฎ‡เฎฐเฏเฎจเฏเฎคเฏ เฎ•เฎฑเฏเฎฑเฎตเฎฑเฏเฎฑเฏˆ เฎŽเฎณเฎฟเฎคเฎฟเฎฒเฏ เฎตเฎฟเฎณเฎ™เฏเฎ•เฏเฎฎเฏ เฎ•เฏ‡เฎณเฏเฎตเฎฟ เฎชเฎคเฎฟเฎฒเฎพเฎ• เฎคเฏŠเฎ•เฏเฎคเฏเฎคเฏ เฎ•เฏ‚เฎฑเฏเฎฎเฏ เฎฎเฏเฎฏเฎฑเฏเฎšเฎฟเฎฏเฎฟเฎฒเฏ เฎ‡เฎฑเฎ™เฏเฎ•เฎฟเฎฏเฏเฎณเฏเฎณเฏ‡เฎฉเฏ.

  1. เฎ•เฎฑเฏเฎ•เฏเฎฎเฏ เฎ‡เฎฏเฎจเฏเฎคเฎฟเฎฐเฎตเฎฟเฎฏเฎฒเฏ เฎŽเฎฉเฏเฎชเฎคเฏ เฎŽเฎฉเฏเฎฉ ?
  2. เฎ•เฎฑเฏเฎ•เฏเฎฎเฏ เฎ‡เฎฏเฎจเฏเฎคเฎฟเฎฐเฎตเฎฟเฎฏเฎฒเฏˆ เฎชเฏเฎฐเฎฟเฎจเฏเฎคเฏ เฎ•เฏŠเฎณเฏเฎณ เฎจเฎฎเฎ•เฏเฎ•เฏ เฎ…เฎŸเฎฟเฎชเฏเฎชเฎŸเฏˆเฎฏเฎพเฎ• เฎคเฏ‡เฎตเฏˆเฎชเฏเฎชเฎŸเฏเฎชเฎตเฏˆ เฎŽเฎตเฏˆ?

เฎฎเฎฉเฏเฎฉเฎฟเฎ•เฏเฎ•เฎตเฏเฎฎเฏ! .

เฎ‡เฎชเฏเฎชเฎคเฎฟเฎตเฏ เฎ‡เฎฉเฏเฎฉเฏเฎฎเฏ เฎฎเฏเฎดเฏเฎฎเฏˆเฎฏเฎพเฎ• เฎŽเฎดเฏเฎคเฎฟ เฎฎเฏเฎŸเฎฟเฎ•เฏเฎ•เฎชเฏเฎชเฎŸเฎตเฎฟเฎฒเฏเฎฒเฏˆ.

Closing notes on 2 months online python course

8 September 2024 at 00:06

The past 2 months went with weekly 3 python classes in Tamil, from Kaniyam Foundation

We got around 3500 participants in 3 whatsapp groups. Initial days went with some 1000+ students.

As the classes are in Tamil, live streamed, many participants started to learn easily.

We asked to learn, take notes, write blog daily. Many of them started to write. You can see them all here โ€“ https://blogs.kaniyam.cloudns.nz/

I hope minimum 20 students learned python very well.

The project demo days at final weeks proved that within 2 months, anyone can learn python programming and do good projects. All we need is dedicated learning and practicing.

I thank Syed Jafer, who trained us in a easy way. Thanks to all participants for great enthusiasm and hard work on learning.

I got opportunity to handle few classes and few QA sessions. Enjoyed every discussions with the team. Happy to see the progress and read all your blog posts daily. Continue the learning and writing. It is a life long process.

Special Thanks to my ilugc friend Asokan. He is a trainer for 20+ years. He taught python around 2005 in our Chennai Linux Users Group meetings. Happy to learn again from him, on his special training sessions.

On our discussions, he explained how to train python for beginners. Learned on he importance of more good examples, how to explain basics etc.

We all wondered on various methods to solve the fizz buzz problem and the beauty of functional programming.

Thanks for Asokan for mentoring us and TalentSprint.com for providing Zoom for the classes.

The feedback session was interesting. Captured the notes here on the things to improve on the next classes.

Feedback from participants โ€“

  • go little slow
  • more basics and examples
  • first week , explain programming basics for beginners
  • teach flow charting methods for basics.
  • try teaching scratch
  • weekend sessions batch
  • make more conversations by participants
  • make sub groups
  • get cheerleaders within the team to make the classes interactive
  • more promotion needed
  • give better examples
  • more QA sessions are required
  • each one should talk
  • showing face in video can help to get some personal connections.
  • run mini hackathons
  • make more interactions and connections between the participants
  • ask to write blogs daily
  • encourage to give talks in class and other communities

Few more learningโ€™s

  • Donโ€™t create whatsapp group for communications. It has 1024 members limit. Having multiple groups is a headache.
  • Telegram is fine for now. Try to explore mailing list too.
  • Mute the groups, if required, to avoid โ€œhi,hello,good morningโ€ messages.
  • Teach how to join for mailing list like chennaipy, kanchilug and how to ask in forums like https://forums.tamillinuxcommunity.org/
  • Teach how to create a free blog in dev.to or wordpress.com
  • Donโ€™t spend much time on explaining all the things in the language. In 5th or 6th class, they have to write code for a small project. Explain things as solutions for the project ideas or problem statements.
  • Insist on using names when calling people, always. By habit, people will call as sir/madam. avoid that on any technical discussions. We all are equal.
  • Zoom is costly. Even though we invest time on training and money for zoom, only around 50 people will complete the training. Check for other platforms like jitsi or google meet too.

Will try to implement these in our upcoming classes.

If you are interested in teaching any open source technology in tamil, write to us at KaniyamFoundation@gmail.com It can be some 30 min talk or few months trainings.

Thanks for all people who are spreading the knowledge openly. you are the backbone of the life.

Links โ€“

All the training videos are here โ€“ https://www.youtube.com/watch?v=lQquVptFreE&list=PLiutOxBS1Mizte0ehfMrRKHSIQcCImwHL

Telegram Group โ€“ https://t.me/parottasalna

My slides in introduction to python โ€“ https://kaniyam.cloudns.nz/python-tips/python-tips.pdf

350 python tips โ€“ https://kaniyam.cloudns.nz/python-tips/python-tips.pdf

Syedโ€™s website โ€“ https://parottasalna.com/

All our blog posts โ€“ https://blogs.kaniyam.cloudns.nz

Closing notes on 2 months online python course

8 September 2024 at 00:06

The past 2 months went with weekly 3 python classes in Tamil, from Kaniyam Foundation

We got around 3500 participants in 3 whatsapp groups. Initial days went with some 1000+ students.

As the classes are in Tamil, live streamed, many participants started to learn easily.

We asked to learn, take notes, write blog daily. Many of them started to write. You can see them all here โ€“ https://blogs.kaniyam.cloudns.nz/

I hope minimum 20 students learned python very well.

The project demo days at final weeks proved that within 2 months, anyone can learn python programming and do good projects. All we need is dedicated learning and practicing.

I thank Syed Jafer, who trained us in a easy way. Thanks to all participants for great enthusiasm and hard work on learning.

I got opportunity to handle few classes and few QA sessions. Enjoyed every discussions with the team. Happy to see the progress and read all your blog posts daily. Continue the learning and writing. It is a life long process.

Special Thanks to my ilugc friend Asokan. He is a trainer for 20+ years. He taught python around 2005 in our Chennai Linux Users Group meetings. Happy to learn again from him, on his special training sessions.

On our discussions, he explained how to train python for beginners. Learned on he importance of more good examples, how to explain basics etc.

We all wondered on various methods to solve the fizz buzz problem and the beauty of functional programming.

Thanks for Asokan for mentoring us and TalentSprint.com for providing Zoom for the classes.

The feedback session was interesting. Captured the notes here on the things to improve on the next classes.

Feedback from participants โ€“

  • go little slow
  • more basics and examples
  • first week , explain programming basics for beginners
  • teach flow charting methods for basics.
  • try teaching scratch
  • weekend sessions batch
  • make more conversations by participants
  • make sub groups
  • get cheerleaders within the team to make the classes interactive
  • more promotion needed
  • give better examples
  • more QA sessions are required
  • each one should talk
  • showing face in video can help to get some personal connections.
  • run mini hackathons
  • make more interactions and connections between the participants
  • ask to write blogs daily
  • encourage to give talks in class and other communities

Few more learningโ€™s

  • Donโ€™t create whatsapp group for communications. It has 1024 members limit. Having multiple groups is a headache.
  • Telegram is fine for now. Try to explore mailing list too.
  • Mute the groups, if required, to avoid โ€œhi,hello,good morningโ€ messages.
  • Teach how to join for mailing list like chennaipy, kanchilug and how to ask in forums like https://forums.tamillinuxcommunity.org/
  • Teach how to create a free blog in dev.to or wordpress.com
  • Donโ€™t spend much time on explaining all the things in the language. In 5th or 6th class, they have to write code for a small project. Explain things as solutions for the project ideas or problem statements.
  • Insist on using names when calling people, always. By habit, people will call as sir/madam. avoid that on any technical discussions. We all are equal.
  • Zoom is costly. Even though we invest time on training and money for zoom, only around 50 people will complete the training. Check for other platforms like jitsi or google meet too.

Will try to implement these in our upcoming classes.

If you are interested in teaching any open source technology in tamil, write to us at KaniyamFoundation@gmail.com It can be some 30 min talk or few months trainings.

Thanks for all people who are spreading the knowledge openly. you are the backbone of the life.

Links โ€“

All the training videos are here โ€“ https://www.youtube.com/watch?v=lQquVptFreE&list=PLiutOxBS1Mizte0ehfMrRKHSIQcCImwHL

Telegram Group โ€“ https://t.me/parottasalna

My slides in introduction to python โ€“ https://kaniyam.cloudns.nz/python-tips/python-tips.pdf

350 python tips โ€“ https://kaniyam.cloudns.nz/python-tips/python-tips.pdf

Syedโ€™s website โ€“ https://parottasalna.com/

All our blog posts โ€“ https://blogs.kaniyam.cloudns.nz

Windows | command lines |

1 September 2024 at 16:37
Go forward : cd path\to\folder 
Go backward : cd ../..
Show lists of files and directories : dir
Show lists of files and directories with hidden files also : dir /a
Clearing screen : cls
Show specific type of files: dir *.png | dir *.jpg
Help for a specific command: ipconfig /? | cls /?
Create a new directory : mkdir myDir | mkdir path\to
Remove or delete directories: if your directory is empty rmdir myDir else rmdir /S myDir
Changing drivers : C: | D:
Show path variables: path
Show available drive names: wmic logicaldisk get name
Change color: color 0B | color 90 or back to default just use color
Creating a file : echo somecontent > file.txt
Deleting file: del filename.ext
Reading contents of a file: type file.ext\
Override to a file : echo newcontent > samefile.ext
Appending to a file : echo appendingcontent >> samefile.ext
Copying files: copy test.txt mydir
Introduction to Command Prompt:

The command line in Windows is also known as Command Prompt or CMD.

On Mac and Linux systems, it's called Terminal.

Image description

To open Command Prompt, follow these steps: Open Start, search for 'Command Prompt', and select it.

Alternatively, you can click the keyboard shortcut (Windows + R), type 'cmd', and press Enter.

Image description

Image description

The first line will indicate the version we are using and the current file location by default.

Image description

Right-click on the top title bar, and the Properties screen will appear. From there,

Image description

Image description

To move from one directory to another, use the cd command followed by the folder name.

For example, to move to the 'Desktop' directory from C:\user\ranjith, type cd desktop.

C:\user> ranjith >
Cd space desktop 

To go to the 'python' folder inside 'Desktop', type cd desktop\python.

C:\user> ranjith >
Cd desktop > python

To return to the parent directory, use cd ... For example, if you are in C:\user\ranjith\desktop\python and want to go back two levels to

C:\user\ranjith, 
type cd ..\.. 

To navigate directly to a specific directory in one line, you can provide the full path.

For example, to go directly to C:\user\ranjith\desktop\python,

you can type cd 

C:\user\ranjith\desktop\python.

Image description
To list files and directories :

use the dir command.

For example, C:\user\ranjith> dir

will show the files, folders, free space, and storage details in the current directory.

Image description

To view the contents of a specific folder, use dir followed by the folder path.

 For example, C:\user\ranjith>dir 

Image description

Image description

Desktop\Python will display all files and folders in the Python folder on the Desktop.

Image description

To view hidden or system files, you can use the dir /a command.

 For example,

 C:\user\ranjith>dir /a

will display all files, including hidden and system files.

Image description

To clear the command prompt screen, use the cls command.

For example, 

C:\user\ranjith> cls 

Image description
will clear the screen and remove previous command outputs.

Opening Files and Viewing History:

To list files of a specific type in a directory, use the dir command with a filter.

For example, 

C:\user\ranjith>dir *.png will list all PNG 

Image description

image files in the current directory.

To open a specific file, enter its filename.

Image description

For instance,

C:\user\ranjith\python>binary_search.png would open the binary_search.png file.

Image description

To navigate through your command history, use the Up and Down arrow keys. Pressing the Up arrow key will cycle through previous commands, while the Down arrow key will move forward through the commands.


To get help on a command, use the /? option.

Image description

For example,

C:\user\ranjith>ipconfig /? will show help for the ipconfig command.

Creating and Removing Folders:

To create a new folder, use the mkdir command followed by the folder name.

For example,

C:\user\ranjith>python>mkdir temp will create a folder named temp.

Image description

Image description
To remove a folder, use the rmdir command followed by the folder name.

For example,

C:\user\ranjith>python>rmdir temp will delete the temp folder.

Image description
Note that the rm command is used for files in some systems, but in Command Prompt, you use del for files and rmdir for directories.

Creating and removing directories:

To create a directory, use the command mkdir txt. 
To remove a directory and its contents, use rmdir /s txt.

This will delete all files and subfolders in the directory as well as the directory itself.

Image description

Use Ctrl + Left Arrow to move the cursor to the beginning of the line and Ctrl + Right Arrow to move it to the end. 

Image description

Image description

To check the version, use var.

Image description

 To start multiple command boxes, use Start.

Image description

Image description

To exit, use Exit.

Image description


Drives and Color Commands:

To list all drives, use: wmic logicaldisk get name. This will show all available drives.

c:\user> ranjith > 
wmic logicaldisk get name

Image description

To switch to a different drive, type the drive letter followed by a colon (e.g., E:).

C:\user> ranjith >  E:

To list files in the current drive, use: dir.

E :\> dir

To view hidden files, use: dir /a.

E :\> dir /a

Image description

To see a directory tree, use: tree.

Image description

E :\> tree 

Changing Text and Background Colors:

E :\> color /?

Image description

Image description

To change the color of text and background, use: color /? to see help options.

For example, color a changes the text color to green.

Image description

E :\> color
E :\> color a

color fc sets a bright white background (if 'f' is not given, it defaults to black) and changes text color to bright red.

Image description

E :\> color fc

Image description

These commands help manage files and customize the appearance of your command prompt

File Attributes:

To view file attributes and get help, use: attrib /?.

Image description

C:\user> ranjith >  YouTube > attrib /? 

Image description
To see the attributes of a file, use: attrib sample.txt.

Image description

Image description

C:\user> ranjith >  Desktop >youtube >
attrib sample. txt

Replace sample.txt with your file name.
To add the "hidden" attribute to a file, use: attrib +h sample.txt.

Image description

C:\user> ranjith >  Desktop >youtube >
attrib +h sample. txt 

To remove the "hidden" attribute, use: attrib -h sample.txt.

Image description

Image description

C:\user> ranjith >  Desktop >youtube >
attrib +r - h sample. txt

Deleting and Creating Files:

To delete a file, use: del sample.txt.

Image description

C:\user> ranjith >  Desktop >youtube >
del sample. txt

del - delete <FileName >

To create a new file, use: echo. > sample.txt. This creates an empty file.

Image description

C:\Users\mrkis\Desktop\Youtube>
echo > sample.txt

To write text to a file, use: echo Kishore > sample.txt. This writes "Kishore" to the file.

Image description

Image description

C:\Users\mrkis\Desktop\Youtube>
echo Kishore > sample.txt

Image description

Image description

C:\Users\mrkis\Desktop\Youtube>
type sample.txt

To view the contents of the file, use: type sample.txt.
Appending Text to Files:

Image description

C:\Users\mrkis\Desktop\Youtube>echo hello>sample.txt

To add text to the end of a file without overwriting existing content, use: echo world >> sample.txt.

C:\Users\mrkis\Desktop\Youtube>type sample.txt

This will add "world" to the end of sample.txt.

Image description

To see the updated content, use: type sample.txt.
Copying Files:

To copy a file to another location or with a new name, use: copy sample.txt test2.txt. This copies sample.txt to a new file named test2.txt in the same directory. If you want to specify a different directory, provide the path instead of just the filename.

Image description

Image description

C:\Users\mrkis\Desktop\Youtube>
copy sample.txt test2

This guide helps with managing file attributes, performing file operations, and

Copying Files Between Disks:

To copy a file from one disk to another, use: copy sample.txt E:. This copies sample.txt from the current location to the E: drive.
Using XCOPY for Copying Directories:

To copy files and directories, including subdirectories, use: xcopy test1 test2 /s. This copies test1 (which can be a file or directory) to test2, including all subfolders and files.
Moving Files:

C:\Users\mrkis\Desktop\Youtube>
copy sample.txt e:
E - another disk

To move files from one location to another, use: move test1 test2. This command moves test1 to test2. If test2 is a folder, test1 will be moved into it. If test2 is a file name, test1 will be renamed to test2.
In summary:

C:\Users\mrkis\Desktop\Youtube>
xcopy test1 test2 /s
copy sample.txt test2
Sample. txt - endha file ah copy seiya vendum. 

S - sub files

copy source destination copies files.
xcopy source destination /s copies files and directories, including subdirectories.
move source destination moves files or renames them

Image description

Image description
Image description

js | Functions |

31 August 2024 at 16:16

Functions

Functions are pieces of code that we can reuse again and again in our code

Function Declaration - JavaScript Hoisting

syntax:
function functionName( ){

// code block

}

functionName()  //calling function
Example:
function msg( ){

console.log("Hii...Hello");

}

msg()  //calling function
//msg()
output:

Hii...Hello
//Hii...Hello

A function declaration defines a named function.It's hoisted,
meaning you can call it before it's defined.

Calling the function:
HOSTING
msg()  // valid  HOSTING
function msg( ){

console.log("Hii...Hello");


}
output:

Hii...Hello

Function Parameters and Arguments

syntax:

                        //input 
function functionName( parameter ){

// code block   //output

}

functionName( arguments)  //calling function

Functions can take parameters, which act as placeholders for the values
that will be passed to the function.The passing value is called an argument.

function msg( name ){

console.log("Hii...Hello" + name);

}

msg( "ranjith") ;
msg( "kumar") ;


output:

Hii...Hello ranjith
multiple parameters
function msg( name ,age){

console.log("Hii", + name +" my age"+age);

}

msg( "ranjith",25) ;
msg( "kumar",20) ;

Default Parameter

function printer(color){

console.log("print document in ${color} color");

}

//printer("blue") 
printer("blue") 
output:

document coloe blue color
//red override
function printer(color="black"){

console.log("print document in ${color} color");

}

//printer("red") 
printer( ) 
output:

//document coloe red color

document coloe black color

 Function with Return Type
function add( a,b){
     return a+b;

}

 let sum = add(10,20); //variable vechu assign panni print pannrom
 console.log(sum);  //30

 //console.log(add(10,20);   check pls
 Function Expression
A function expression defines a function inside an expression.
It's not hoisted, so you can't call it before it's defined.
syntax:

    variable      keyword
let functionName=function ( ){

   //code block

}

functionName()   // calling function

Ex:

           //don't change 
 let msg = function( ){   // function() indha typelaa kandippa irukkanum

 console.log("good morning");

}

msg( ) ;  //good morning 
With Argument
//msg( "ranjith") ;   // exp not hositing

let msg = function( name ){

console.log("good morning ${name}");

}

msg( "ranjith") ;  //good morning ranjith
Function Expression with Return Type
let mul = function (a,b){
   return a*b;

};

let result = mul( 5,2 ){
console.log(result); //10

 //console.log(mul(4,7));
 Arrow Function
 Arrow functions provide a concise syntax and do not bind their own 'this'. They are not hoisted.
 syntax:


    variable      keyword
let functionName=( ) =>{

   //code block

}

functionName()   // calling function

Example:
let evening = ( ) =>{

 console.log("good evening everyone");

}

evening ()   // good evening everyone 
With Argument
//not hoisting
let evening = ( name ) =>{

 console.log("good evening " + name);

}

evening ("ajith")   // good evening ajith
 Arrow Function with Return Type


 let sub =( a,b ) =>{
    return a - b ;
 };

  console.log( sub(10,6); // 4
Shorter Way
let sub =(a,b) => a-b;

console.log(sub(10,6)); //4
Function Calling Other Function
                       //ranjith
 function welcomeShopper(name){

 console.log(" welcome ${name} ! enjoy yoyr shopping experience")

}              //ranjith
    function main(name){

   // welcomeShopper(name); // direct calling
                   //ranjith
   let ShopperName-name;  // variableassign and after calling
                   //ranjith
   welcomeShopper(ShopperName); // calling top welcomeshopper

  };

  main("ranjith")  // welcome ranjith ! enjoy your.....
Anonymous Functions: Later on Course on Arrays
serTimeout(() => {

   console.log(" anonymous function executed");

 },2000 // 2sec delay  

 output: anonymous function executed
Scope of variables will on functions and loops
var: Function scoped.
Ex:
function demo(){
    var a =20;
    console.log(a); 

  }
demo();
console.log(a)  //error function outside calling
let: Block scoped.
const: Block scoped.
 Ex:

 function demo(){
     var a =20;
     console.log(a); 

   if (true){

   var x = "var";
   let y = "let";
   const z = ""const;     /// block scop

   console.log(x);
   console.log(y);    // all working good ...if block
   console.log(z);

  }
   console.log(x); // outer block code run successfully  (var)   
   console.log(y);   // error  (let)
   console.log(z);   // error not defienfd  (const)

 demo();

console.log(a)

Js | Truthy & Falsy |

31 August 2024 at 09:48

Truthy and Falsy Values:

in Javascript, truthy and falsy values are used to determine whether a value evaluate to true or false in a boolean
context.this concept is crucial for controlling the flow of your program using conditions like if statement.

Falsy Values: 0," ",null,NaN,false,undefined 
console.log(Boolean(0)); //false
console.log(Boolean(undefined)); //false

console.log(Boolean(' '));  //empty false

console.log(Boolean(null)); //false

console.log(Boolean(NaN)); //false not a number

console.log(Boolean(false)); //false

Truthy Values: any value that is not Falsy :

console.log(Boolean(1)); //true
console.log(Boolean(1833933)); //true
console.log(Boolean(-1)); //true
console.log(Boolean("hello")); //true
console.log(Boolean(1)); //true
console.log(Boolean([])); //true empty array
console.log(Boolean({})); //true empty object
console.log(function (){}); //true
Example:
           t     f
let cash =255  //0 ; 
    //conditions false  statement block not run
if (cash){
  console.log("you can buy burger with drink"); 
}else{
   console.log("you can buy burger"); 
}else{
   console.log("you don't have money"); 
}
let a;
console.log(a); //false
output:
undefined 
let a = 10;
console.log(a); //true
let a = null;
console.log(a); //false

Js | Decision Making: | if | if Else | Else if |

31 August 2024 at 09:15

Decision Making: if, if...else, else if


Decision making or control flow in programmming is the way we coontrol the execution
of code based on certain conditions.this allows the program to make choicces and execute diff code paths.

Example 1: if statement
syntax:
if (condition){

  //code block 

}

Example:

             f    f   t
let temp =  #24  #25  25;


if (temp>=25);
{

console.log("it is hot outside");

} 

Example 2: if...else statement

syntax:

if (condition){

  //code block 

}
else{

   //code block 

}
Example 1:
if (temp>=25);

{

console.log("it is hot outside");

}
else{

console.log("it is cold outside");

}
Example 2:
let isRaining= #true false;

if (isRaning);
{

console.log("take an umbrella");

}
else{

console.log(" you don't need an umbrella");

}
Example 3: else if statement
syntax:
if (condition){

  //code block 

}
else if(condition){

   //code block 

}
else{

   //code block 

}
Example:
let time=14;

if (time<12){

console.log("good morning"); 

}
else if(time<18){

 console.log("good afternoon");  

}
else{

 console.log("good evening");  

}
Example 4: Nested if statements
Variables
let age= 16;
let iswithparents=true;
let idproof=true;
Decision logic

if (age>=18);{

  if(idproof);
    console.log("you can visit the mall and can able to watch the movie"); 
  } else{
     console.log("you can visit te mall"); 
  }
}else{
     if(iswithparents);
        console.log("you can visit the play area"); 
  } else{
     console.log("you are not allowed in the play are"); 
  }

}
Example:
let day=1;

if(day===1){
  console.log("monday"); 
}
else if(day===2){
  console.log("thuesday"); 
}
else if(day===3){
  console.log("wenday"); 
}
else if(day===4){
  console.log("thuesday"); 
}
else if(day===5){
  console.log("friday"); 
}
else{
console.log("in valid"); 
}
Switch Statement
syntax:
switch(vale){
  case 1:
     //code block  
      break;
  case 2:    
    //code block  
       break;
  case 3:
      //code block  
       break;
  Default:
      //code block  
       break;
}
Exmple1:
let day=3;

switch(day){

  case 1:
      console.log("monday"); 
      break;
  case 2:
      console.log("thuesday"); 
      break;
  case 3:
      console.log("wensday"); 
      break;
  case 4:
      console.log("thresday"); 
      break;
  case 5:
      console.log("friday"); 
      break;
   default:
      console.log("invalid"); 
}

output:

wensday
Exmple2:
let choice='tea';

switch(choice){

   case 'coffee':
      console.log("you choose coffee monday"); 
      break;
   case 'tea':
      console.log(" you choose tea thuesday"); 
      break;
    case 'water':
      console.log(" you choose water thuesday"); 
      break;
    default:
      console.log("invalid"); 
}

output:

you choose tea 
Ternary Operator
short hand if else
let isadmin =true;

/*if(isadmin){
  console.log("am  admin");
}
else{
   console.log("am  user");
} */
                 true        .
let userrole = isadmin ? " am admin ":" am user ";
console.log(userrole);

let mark=60;
     var        cond      if       else
let result = mark>=30 ? " pass ":" fail ";
              //true
//let result = 25>=30 ? " pass ":" fail ";

console.log(result); 

output:

pass

Js | DataTypes |

30 August 2024 at 18:13

Datatypes

  • Javascript is Dynamic Typing

  • Primitive and Object Type

Primitive Data Types:

1.Number - Represents both integer and floating-point numbers.

let age=10;  #equal two apram enna num,str,bool ex...automatic convert pannikum enna datatype nu.
console.log(age);
console.log(typeof age); 

output:
10
number
age="25";
console.log(age);
console.log(typeof age); 

output:
string

float number:

let price=19.99;
console.log(price);
console.log(typeof price); 

output:
19.999
number

2.String - Represents a sequence of characters.

let greeting="Hello World.!"
console.log(greeting);
console.log(typeof greeting); 

output:
string

3.Boolean - Represents a logical entity and can have two values: true or false.

let isActive=true;
console.log( isActive);
console.log(typeof  isActive);
let isActive=false;
console.log( isActive);
console.log(typeof  isActive); 

4.Undefined - A variable that has been declared but not assigned a value.

let name;  #Error undefined
console.log( a);
console.log(typeof a); 

5.Null - Represents the intentional absence of any object value.

let name-null:
console.log(name);
console.log(typeof name); 

6.Symbol - Represents a unique and immutable value, often used as object property keys.

let unique=symbol("key"); #custom symbol
console.log(unique);
console.log(typeof unique); 

output:
symbol("key")

7.BigInt - Represents whole numbers larger than 2^53 - 1 (the largest number JavaScript can reliably represent with the Number type).


let largeNumber=BigInt(68690356789000833);
let largeNumber=68690356789000833n; #using the n notation

console.log( largeNumber);
console.log(typeof largeNumber); 

output:
68690356789000833n

Non-Primitive Data Types

1.Object

Represents a collection of properties, each consisting of a key (usually a string)
and a value (which can be any data type, including another object.

let person={

  name-'ranjith'.
  age=25,
  isEmployed=true;
}

console.log( person); //total laa print agum
console.log( person .name);  // name only
console.log( person .age);  // age only
console.log( person .isEmployed);

console.log(typeof  person); 

2.Array

A special type of object used for storing ordered collections of values.

let number=[1,2,5,4,8];
console.log( number);

let mixdata=[1,'2',true,false,null,[1,2,'5',"str"] ,undefined ];
console.log( mixdata);

3.Function

A special type of object that is callable and can perform an action.

function invite( ){
   console.log( "you are invitd");
}
invite()
**4.Date - A built-in object for handling dates and times.**

let now- new Date;
console.log( now);

outut:
date wed jul 24 2024 09.00:51 Gmt( indian stamdard)

July 8, 2024 Python Meet & Greet - Part 2

By: Vishal J
8 August 2024 at 09:57

This is a series of Python learning blog from parottosalna community by kaniyam foundation

This blog is based on this video "Python Meet & Greet - Part 2 | Parotta Salna" - Day 1 of Python learning Introduction class

To watch the full series check this youtube playlist

Objectives

  1. Introduction to Python Program
  2. About Linux user groups and their activites in Tamilnadu
  3. Contact numbers and links
  4. Forum questions asking methods
  5. Today Tasks
  • Linux groups and meetups in tamilnadu

  • To get updates for the linux meetups you can check the kaniyam.com website calender

  • The know for meetups check for meetup.com

  • These groups are volunteer group for knowledge sharing

  • GNU Linux

  • Windows or Mac are properaty software

  • Linux is made by the people for the people

  • GNU image for alternative photoshop

  • The only thing is after modify the software, it should be reelase it with original license

  • muthuramalingam tamil python - Youtube channel

  • To eliminate Thayakkam

    • This is what i know, and I am sharing it with you
  • By asking questions in forums you are creating a knowledge database

  • Ask questions in mailing list in chennaipy.org

  • By using tanglish you are not strong in either english or in tamil.

  • Things to remember when asking question

    • Don't ask your questions in one line
    • If possible add error code
    • If you have any question, always ask in public
  • Programming is like cooking

  • UI/UX - Javascript or HTML or CSS

  • Srinivasan is using Ubuntu KDE distribution of Linux

  • Srinivasan's Phone number: 9841795468

  • Dhanasekaran and Srinivasan is organising the class

  • Every week saturday teaching reactJS

  • Today Exercise

    • Install Python
    • Login in colab
  • Freetamilebook.com

  • python books

  • Telegram link: https://t.me/+2Q_uTW7j9xtkMmVl

July 8, 2024 Python - Meet & Greet - Part 1

By: Vishal J
8 August 2024 at 09:47

This is a series of Python learning blog from parottosalna community by kaniyam foundation

This blog is based on this video "Python - Meet & Greet - Part 1 | ParottaSalna" - Day 1 of Python learning Introduction class

To watch the full series check this youtube playlist

Objectives:

  1. Why Python ?
  2. Course Syllabus
  3. Python Installation - Windows, Linux
  4. Collab Notebook
  5. Where to see updates & recordings.
  6. Where to ask questions ?
  7. Our Expectations
  8. Basic Print Command
  9. About FOSS, FOSS Communities.
  • Applications of Python language

  • Syllabus

  • Resources provided the team

    1. Blog
    2. Infographic PDF with important concepts
    3. Quiz
    4. Task like exercises
  • Learn -> Write blog -> Teach someone

  • python is open source

  • Python Colab in google for temperavery

    • Each program set is called cell
  • To ask questions

    • Ask in Tamil linux forum
    • Direct question in whatsup after class upto 2 hours
    • Few minutes before the class
  • To check updates for class

    • Check in Kaniyam website
    • Check in python syllabus session
    • Youtube channel live notification
    • Direct message to mentors
  • To find answer for my question

    1. First check in google search
    2. Then ask question
  • Expectations

    • To write blog notes after each classes
  • Programming

    • Print command
      • print("") this the format of the print command
      • To run the code python print or python print.py
  • Python is ready install in linux, if not install it with brew command

  • Mentor will use VScode and colob for teaching

  • Telegram link: https://t.me/+2Q_uTW7j9xtkMmVl

Python - List Methods & Tasks II

By: SM
1 August 2024 at 01:22

Even though I had done the tasks beforehand, watching them being done in class today taught me new things.

I learned that I could use Python's in-built list methods more, instead of falling back to for loop all the time.

For example, I could use the extend method (rather than for loop and append method) to expand a list with the contents of another list. Likewise, I could use the clear method (rather than for loop and remove method) to empty a list.

Unless there is a specific need for using the for loop, like I need to check a condition on individual elements before adding them to or removing them from the list, the code looks much cleaner this way.

Python: print() methods

17 July 2024 at 10:58

Hi all,
Today, I learned about the Python print statement. It is fascinating to know that Python has so much functionality.I will share some of the thing i learned today

  1. sep, the sep parameter is used with the print() function to specify the separator between multiple arguments when they are printed.
  2. escape sequence like \n (new line), \t(adds space), \b(removes previous character).
  3. concatenation which adds two different strings.
  4. concatenating str and int which combine string and integer by converting integer into string by typecasting.
  5. Raw string A raw string in Python is defined by prefixing the string literal with an 'r' or 'R'.Raw strings are often used when working with regular expressions or when dealing with paths in file systems to avoid unintended interpretation of escape sequences.
  6. Format the format() method is used to format strings by replacing placeholders {} in the string with values passed as arguments.
  7. string multiplication here you can multiply strings by using the *operator. This operation allows you to multiply string a specified number of times.

Python - Operators and Conditionals

By: ABYS
17 July 2024 at 10:31

In this blog, we'll get to know about operators, conditionals and input() functions.
Let's jump into Operators.

What are Operators ?

Symbols that perform specific mathematical / logical operations in computer.
This is of 3 types namely;

  • Arithmetic operators
  • Comparison operators
  • Logical operators

What are these and what functions they perform ?

Lemme tell something, you guys will be surprised to learn how simple it is...

1.Arithmetic operators

It includes basic mathematics like addition, subtraction, multiplication, division and few more..
We've seen all these in previous blog where we created a calculator.

ok you would be asking what about the remaining two..
yeah, I'll discuss that now.

2.Comparison operators

It compare two values and return either True or False.

  • Equal to ( == )
  • Not equal to ( != )
  • Greater than ( > )
  • Less than ( < )
  • Greater than or equal to ( >= )
  • Less than or equal to ( <= )

For ex,

a = 2
b = 4

result = (a > b)
print(result)

False

a = 2
b = 4

result = (a <= b)
print(result)

True

3.Logical operators

Used to combine conditionals (if, else)

  • and - if both the statements are true, Returns True.
  • or - if one of the statements is true, Returns True.
  • not - returns False if the result is true i.e, Reverses the result.
#and
condition_1 = True
condition_2 = True
print(condition_1 and condition_2)

True

condition_1 = True
condition_2 = False
print(condition_1 and condition_2)

False

#or
condition_1 = True
condition_2 = False
print(condition_1 or condition_2)

True

#not
condition_1 = True
print(not condition_1 )

False

With this, Operators done.

Now, What are Conditionals ?

  • It used decide which path to take based on given conditions.
  • The commonly used conditional statements in Py. are if, elif, and else.

Lemme explain it using a realtime scenario,
I'm planning to go out and I wanna select my clothes. So, I've three options tracks, dress or I'm not going.

if tracks_available:
wear tracts
elif dress_aviable:
wear dress
else:
sit at home

The same we're gonna do it by coding.
Let's compare two numbers;

a = 25
b = 25
if a > b:
    print("a is greater than b")
elif a == b:
    print("a is equal to b")
else:
    print("a is less than b")

So, each condition is checked by steps, as according to line 5 and 6
the result will be as following..

a is equal to b

Get User Input using input()

It is to get input from the user.
We always get input in string type i.e, text format, so if we need a number we've to convert it.

Here's a basic usage of this function:

name = input("What is your name? ")
print("Hello, " + name + "!")
print("Have a nice day.")

It asks the user for their name and then prints as given.
But, that's not the case for numbers as we've discussed earlier while creating calculator.

For numbers we ought to convert the input from string to an integer or float..

age = input("Enter your age: ")
age = int(age)
print("You are " + str(age) + " years old.")

or,

age = int(input("Enter your age: "))
print("You are " + str(age) + " years old.")

Let us now look into a question which comprises it all.

Create a program that asks the user to enter a number and then prints whether the number is positive, negative, or zero.

num = float(input("Enter a number: "))
if num > 0 :
   result = "positive"
elif num < 0 :
   result = "negative"
else :
   result = 0
print(f"The number is {result}.")

This program

  • Asks the user to enter a number.
  • Converts the input to a float (as it could be applicable for decimals too)
  • Check if the number is positive, negative, or zero, and prints the result.

Okay, with this in our mind try to make a grading system.

Grading system
A - 100 to 90
B - 90 to 80
C - 80 to 70
D - 70 to 60
E - 60 to 45
FAIL - 45 to 0

Lets create a program that takes a numerical grade as input and prints the corresponding letter grade (A, B, C, D, or F). Total Marks is 100.

mark = float(input("Enter your mark : "))

if mark >= 91 and mark <= 100:
    print("Grade A")
elif mark >= 81 and mark < 91:
    print("Grade B")
elif mark >= 71 and mark < 81:
    print("Grade C")
elif mark >= 61 and mark < 71:
    print("Grade D")
elif mark >= 45 and mark < 61:
    print("Grade E")
elif mark < 45:
    print("Fail")
else:
    print("Mark not valid")

Try it out yourself...

8.Python Loops

24 July 2024 at 12:47

Python Loops:

Python has two primitive loop commands:

while loops
for loops

while Loop:

With the while loop we can execute a set of statements as long as a condition is true.

i = 1
while i < 6:
  print(i)
  i += 1

Output :

1
2
3
4
5

For loop:

A "For" Loop is used to repeat a specific block of code a known number of times

`fruits = ["apple", "banana", "cherry"]
for x in fruits:
  print(x)

Output :
apple
banana
cherry`

Type of Loops:

For Loop:

A for loop in Python is used to iterate over a sequence (list, tuple, set, dictionary, and string). Flowchart.

While Loop:

The while loop is used to execute a set of statements as long as a condition is true.

*Nested Loop : *

If a loop exists inside the body of another loop, it is called a nested loop.

7.Strings Indexing & Slicing

24 July 2024 at 12:35

Slicing Strings:

You can return a range of characters by using the slice syntax.

Specify the start index and the end index, separated by a colon, to return a part of the string.

** Get the characters from position 2 to position 5 (not included):**

b = "Hello, World!"
print(b[2:5])
Output : llo

Slice From the Start
By leaving out the start index, the range will start at the first character:

Get the characters from position 2, and all the way to the end:

b = "Hello, World!"
print(b[:5])
Output = Hello

Negative Indexing
Use negative indexes to start the slice from the end of the string:

**Get the characters:

From: "o" in "World!" (position -5)

To, but not included: "d" in "World!" (position -2):**

`b = "Hello, World!"
print(b[-5:-2])

Output =orl`

Python - Modify Strings

The upper() method returns the string in upper case

a = "Hello, World!"
print(a.upper())
Output =HELLO, WORLD!

The **lower() method returns the string in lower case:**

The lower() method returns the string in lower case:

`a = "Hello, World!"
print(a.lower())

Output) =hello, world!`

The strip() method removes any whitespace from the beginning or the end:

`a = " Hello, World! "
print(a.strip())

Output =Hello, World!`

Replace String
Example
The replace() method replaces a string with another string:

`a = "Hello, World!"
print(a.replace("H", "J"))

Output =Jello, World!
`
Split String

The split() method returns a list where the text between the specified separator becomes the list items.

Example:

The split() method splits the string into substrings if it finds instances of the separator:

'a = "Hello, World!"
print(a.split(","))
['Hello', ' World!']
Output =['Hello', ' World!']'

`Indexing :

fruits = ['apple', 'banana', 'cherry']

x = fruits.index("cherry")

print(x)
Output =2`

5.Operators, Conditionals, input()

17 July 2024 at 10:21

*arithmetic operators *

The six arithmetic operators in Python are: addition (+), subtraction (-), multiplication (), division (/), modulo (%), and exponentiation (*). These operators allow you to perform mathematical operations on numeric data types such as integers and floating-point numbers.

*comparison operators *

Comparison operators are used to compare two values:

==, !=, <=, >=, >, <.

Logical Operators..

Python logical operators are used to combine conditional statements, allowing you to perform operations based on multiple conditions.
and, or, not

Assignment Operators

Assignment operators are used to assign values to variables:

, +=, /=, *=, -=

Conditionals

Used to execute a block of code only if a specified condition is true.

if condition:
code block

Used to execute a block of code if the condition in the if statement is false.

`if condition:
code block

Else:

code block

`

Short for "else if", used to check multiple conditions.

`if condition:

Elif :

Else:
--`
input

Age=int (input ("Enter your age" ))

Input from input() is always a string; convert it using functions like int(), float(), str().

BODMAS

Brackets (Parentheses ()): Operations inside brackets are performed first.
Orders (Exponentiation **): Next, orders (exponents and roots).
Division and Multiplication (/, *, //, %): From left to right. โ€ข Addition and Subtraction (+, -): From left to right.

Task:
Image description
Playlist:

https://youtube.com/playlist?list=PLiutOxBS1Mizte0ehfMrRKHSIQcCImwHL&si=pKTi0wvSUvbXfwUS

Hello Programming world!

By: heartraju
14 July 2024 at 19:23

Finally,

I resurrected into the world of Coding. And the journey is starting with Python

It all started with a post on X platform that calls for people to join FREE Python online class starting from July 8, interested people can join the WhatsApp group using the link.

Obviously I too clicked the link because it said FREE common people iโ€™m from India what do you expect. First two three days I was like Dhanush in Pudupettai. เฎ‡เฎ™เฏเฎ• เฎ’เฎฐเฏ‡ เฎ‡เฎฐเฏเฎŸเฏเฎŸเฎพ เฎ‡เฎฐเฏเฎ•เฏเฎ•เฏ, เฎฏเฎพเฎฐเฎพเฎตเฎคเฏ เฎ‡เฎฐเฏเฎ•เฏเฎ•เฏ€เฎ™เฏเฎ•เฎณเฎพ ?

On the penultimate day thatโ€™s July 7th, they uploaded a YouTube video link that explained how to install PYTHON. That gave me the assurance that Iโ€™m in the right group. I didnโ€™t take it seriously and next day they uploaded the link for the meeting and meeting agenda. Now Iโ€™m pretty sure that Iโ€™m part of this PYTHON batch.

Around 6.30pm, told my wife, Iโ€™m going to join this class and not to disturb me for another hour. But sheโ€™s is also interested in learning. So we left the kid with my mom and informed about the class and we were getting ready to join the class.

Initially I thought Iโ€™m good with my phone, but now itโ€™s two people it wonโ€™t be enough so screen mirrored my phone to the TV but audio is still from the phone. Syed started the class and explained about the course its outcomes, their expectations and other things. Then Shrini joined and he talked about KANIYAM and other groups that is working in bringing Tamil Computing to a larger groups. Since this part was kinda slow , everyone in the chat were like โ€œAre you going to start Python class or no ?โ€. Being a tamil enthusiast I really enjoyed listening to all the works being done by these people. I felt sad for not finding these people earlier. Them they gave all the links to their groups and activities. Thatโ€™s how day 1 of PYTHON class came to an end. After the class, I started reading Shriniโ€™s goinggnu.Wordpress.com blog and got to know more info about him and his wife and their contribution to Tamil Computing.

Day 2

Today I had to go to the market so asked my wife to join the class and let me know afterwards. I joined towards the end, asked wife whatโ€™s the class about she said itโ€™s about Print function but she was also busy with kid so she also didnโ€™t pay much attention. But she said video and other information are available in the Parotta Salma website. Since itโ€™s available online , we didnโ€™t spend much time on it that day

Day 3

Today I was prepared with everything and joined the class on time. Today the class was about Data Types. I took notes and explained to wife as she was busy with kid.

Later that night, while I was reading the blog from people in the RSS feed link, I found this guy Govindarajan Shanm blog very informative with simple steps. Using those steps, I installed Python and IDE and made sure the program make do the coding tradition and write a โ€œHello Worldโ€

I Opened the Python and typed

Print (โ€œHello World!โ€) and clicked enter and the output was

Hello World

Then again did the same with the IDE shell. Having used Matlab I got to know the use of IDE. I got that to work perfectly. During the class Syed was talking about VS code. So decided I should give it a try., so with the help of some tutorials I was able to make VS code work fine.

Day 4 โ€“ 7

Today we had some time in the morning, so we finished our work then started on our Python Journey. we used Parotta Salma notes and tried all their commands for Print functions. Inbetween we searched some doubts on Google and happened to see Input command and we used it on our examples for new line print function.

We worked on all the print functions and successfully completed our week 1 of Python Learning.

โŒ
โŒ