Skip to content

AdchayaNelson/Python-Program-beginners-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Simple PYTHON Programs:

Example Questions:

Q 1: Write a Python program to print "Hello, World!" Q 2: Calculate the sum of two numbers entered by the user. Q 3: Convert temperature from Celsius to Fahrenheit.

Practice Questions:

  1. Write a Python program to calculate the area of a rectangle given its length and width.
  2. Create a program that takes a user's name and age as input and prints a greeting message.
  3. Write a program to check if a number is even or odd.
  4. Given a list of numbers, find the maximum and minimum values.
  5. Create a Python function to check if a given string is a palindrome.
  6. Calculate the compound interest for a given principal amount, interest rate, and time period.
  7. Write a program that converts a given number of days into years, weeks, and days.
  8. Given a list of integers, find the sum of all positive numbers.
  9. Create a program that takes a sentence as input and counts the number of words in it.
  10. Implement a program that swaps the values of two variables.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published