Posts

Showing posts from June, 2021

CH02

VARIABLE : --- a_122 = '''harry''' # a = 'harry' # a = "harry" b = 345 c = 45.32 d = True # d = None # Printing the variables print(a) print(b) print(c) print(d) # Printing the type of variables print(type(a)) print(type(b)) print(type(c)) print(type(d)) ===================================================================  

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') -------------------------------------------------------------------------------...