Basic Python Printing Program Questions
1. Write a Python program to print 'Hello, World!'.
2. Write a Python program to print your name, age, and city.
3. Write a Python program to print a message on multiple lines.
4. Write a Python program to print numbers from 1 to 10 using separate print statements.
5. Write a Python program to print the sum of two numbers directly inside the print statement.
6. Write a Python program to print your name five times.
7. Write a Python program to print your college name and course on separate lines.
8. Write a Python program to print a sentence using string concatenation.
9. Write a Python program to print a sentence using formatted strings (f-strings).
10. Write a Python program to print text and numbers in the same line.
11. Write a Python program to print a line with a custom separator between words.
12. Write a Python program to print text without moving to a new line after each print.
13. Write a Python program to print a double quote and single quote inside a string.
14. Write a Python program to print a simple triangle pattern using '*'.
15. Write a Python program to print a right-angled triangle using numbers.
16. Write a Python program to print your favorite quote using escape sequences.
17. Write a Python program to print your full name in a decorative pattern.
18. Write a Python program to print the output of basic math operations (sum, subtraction,
multiplication, division).
19. Write a Python program to print the table of 5 in a clean format.
20. Write a Python program to print a rectangular box made of '#' symbols.
21. Write a Python program to print your details (name, roll number, subject) in a formatted style.
22. Write a Python program to print the first 10 even numbers using a single print statement.
23. Write a Python program to print the word 'PYTHON' vertically.
24. Write a Python program to print a diamond pattern using '*'.
25. Write a Python program to print a checkerboard pattern using '0' and '1'.
26. Write a Python program to print a smiley face using characters.
27. Write a Python program to print a multiplication table in a tabular format.
28. Write a Python program to print a border around your name using '*'.
29. Write a Python program to print 'Welcome to Python Programming' with spaces between each
letter.
30. Write a Python program to print the word 'PYTHON' in reverse order using multiple print
statements.