Skip to content

Latest commit

 

History

History
 
 

###Basics:

  1. Hello World Script: Create a script that simply prints "Hello, World!" to the terminal.

  2. Variables and User Input:

    - Create a script that asks the user for their name and then prints a greeting using that name. - Use variables to store the user's input and the greeting message.

  3. Conditional Statements:

    - Write a script that checks if a file exists in the current directory. If it does, print a message confirming its existence; otherwise, print an error message.

  4. Loops:

    - Write a script that uses a loop to print numbers from 1 to 5. - Expand it to print numbers from 1 to a number entered by the user.

### Intermediate:

  1. File Operations:

    - Create a script that reads a list of filenames from a text file and then prints each filename along with its file size.

  2. Text Processing:

    - Write a script that takes a text file as input and counts the number of occurrences of each word in the file, then prints the results sorted by frequency.