Saturday, September 24, 2022

PYTHON'S BASIC QUESTION

Some basic questions of PYTHON



Hello Friends,

     In this blog, I give you some basic questions of PYTHON to practice and make better COMMAND on PYTHON.






    ➤What is PYTHON?

  • Python is a programming language.
  • Discovered by GUIDO VAN ROSSUM.
  • It introduced in 1991.
  • It is basically known for - 
    1. it has simple syntax
    2. it has huge libraries
    3. it interpreted as well as compiled the code.


Here are some basic questions in PYTHON to create programs are - 

  1. Write a program to accept 5 Fruit's name by the user in a list.
  2. Write a program to add or remove an element in the list given below - ["C", "Python", "Java", "HTML"]
  3. Write a program to create a dictionary of three key and values by the user.
  4. Write a program to create a dictionary by the user and display the keys and values in a list respectively.
  5. Write a program to get the subject name as a key and subject's marks as a value in a dictionary and after that calculate the percentages of marks, out of no. of subjects * 100.
  6. Write a program to get Student's Roll no.  in a tuple and sort them in ascending order.
  7. Write a program to count the no. 8 in a given tuple - (23,8,21,5,8,32,8,8).
 get up to date for more questions...

(Give your answers in comment box)



To get more Questions of Python Programming


Linked List

1 comment:

Thought Generator

Motivational Thoughts New thought