introduction to python CH 01


----------IMPORTING MODULES IN PYTHON---------------


 '''

Author: Harry

Licenced to: ABC Company

***********Thanks for reading**********

'''

import os # importing the os module 

print("Hello world")

======================================================================

----------------PRACTICE PROBLEM SOLUTIONS----------------

PROBLEM 01
'''
This problem is a solution of
Problem 1 of CodeWithHarry Practice Set!
'''
# This is also a comment just like the above line

print('''Twinkle, twinkle, little star,
How I wonder what you are!
Up above the world so high,
Like a diamond in the sky.''')

------------------------------------------------------------------------------------------

PROBLEM 02 

from playsound import playsound


playsound('D:\\MyData\\Business\\code playground\\Python Course With Notes\\1. Chapter 1\\play.mp3')

-----------------------------------------------------------------------------------------

PROBLEM 03

# Author: Harry

# Location: Mars
# Date: 23/09/2022
import os
print(os.listdir())

----------------------------------------------------------------------------------------

----------------------------------NOTES--------------------------------------------------




Comments

Popular posts from this blog

VBA01 Copy Resize Variably Sized Ranges

VBA MOD01 Passing Arguments to sub procedures (ByRef , By Val)

PY MOD01 Lecture 01