# python Day 1 : Assignment

1. Write a Python program to print "Hello, World!"
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1699267532317/c191fadc-54b4-4f30-a5b3-dbc4ed7c97b0.png align="center")
    
    1. Calculate the sum of two numbers entered by the user.
        
        ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1699269529144/76b1d64b-64c8-4d3f-9c48-da21475d536f.png align="center")
        
    2. Convert temperature from Celsius to Fahrenheit.
        
        ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1699269340009/f211f3d8-1f58-455c-a55a-14b412eb36a2.png align="center")
        
        1. Write a Python program to calculate the area of a rectangle given its length and width.
            
        
        ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1699269749888/5bd4e6d9-557b-4315-b30f-bc1cd2b74e24.png align="center")
        
        1. Create a program that takes a user's name and age as input and prints a greeting message.
            
        
        ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1699270232701/caba915f-7f0b-4782-89d4-c51e4a387362.png align="center")
        
        1. Write a program to check if a number is even or odd.
            
        
        ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1699270483872/47257797-d224-41d8-8bc8-cb1c8f00c7bd.png align="center")
        
        1. Given a list of numbers, find the maximum and minimum values.
            
            ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1697454853750/e8741025-26bb-4a13-9193-5adb9a5c989d.png?auto=compress,format&format=webp align="left")
            
            1. Create a Python function to check if a given string is a palindrome.
                
                ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1697455380121/02bbafd7-d9bf-42d4-b59f-2317249b7e67.png?auto=compress,format&format=webp align="left")
                
                1. Calculate the compound interest for a given principal amount, interest rate, and time period.
                    
                    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1697456459881/59b11593-d88b-4c34-adbe-08c0919ca92a.png?auto=compress,format&format=webp align="left")
                    
                    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1697456538957/f65815cd-456c-40bf-994f-81f51f8baea6.png?auto=compress,format&format=webp align="left")
                    
                    1. Write a program that converts a given number of days into years, weeks, and days.
                        
                        ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1697526610096/9b5ecb3f-eb0b-4ce4-8b91-b9c31fd0decd.png?auto=compress,format&format=webp align="left")
                        
                        1. Given a list of integers, find the sum of all positive numbers
                            
                            ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1697529981094/8c118874-9acf-4424-a807-baf578d0ff9a.png?auto=compress,format&format=webp align="left")
                            
                            1. Create a program that takes a sentence as input and counts the number of words in it.
                                
                                ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1697536225856/3aa6fc5a-b789-47b4-9bb7-8cf7a5ac1ee6.png?auto=compress,format&format=webp align="left")
                                
                                1. Implement a program that swaps the values of two variables.
                                    
                                    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1697536423500/c06edba8-64ad-4140-be68-c230e1bb7bd4.png?auto=compress,format&format=webp align="left")
