0% found this document useful (0 votes)
5 views1 page

Python Basic Questions

The document contains a list of basic Python programming questions and tasks. These tasks include finding data types, converting numbers, working with lists and dictionaries, and performing various operations like counting, printing, and checking conditions. The questions are aimed at testing fundamental programming skills in Python.

Uploaded by

trivenic357
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views1 page

Python Basic Questions

The document contains a list of basic Python programming questions and tasks. These tasks include finding data types, converting numbers, working with lists and dictionaries, and performing various operations like counting, printing, and checking conditions. The questions are aimed at testing fundamental programming skills in Python.

Uploaded by

trivenic357
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Python Basic Questions

1. Write a program to find the type of a user-entered value


2. Convert a float number to an integer and display both
3. Create a list of 5 numbers and print the sum of all elements
4. Store student details (name, age, marks) using a dictionary and
print them
5. Write a program to find the largest of three numbers
6. Print all numbers from 10 to 1 using loop
7. Print all even numbers between 1 and 50
8. Count how many numbers between 1 and 20 are divisible by 3
9. Print the square of numbers from 1 to 10
10. Reverse a number using while loop
11. Check whether a character is a vowel or consonant
12. Print the vowels in a string
13. Count the number of vowels in a string
14. Count the frequency of each character in a string
15. Create a list of numbers and print only numbers divisible by 5

You might also like