Starting from:

$35

Python-Assinment 1 Solved

ASSIGNMENT 1

Q1. Why do we call Python as a general purpose and high-level programming language?
 

Q2. Why is Python called a dynamically typed language?

 

Q3. List some pros and cons of Python programming language?

 

Q4. In what all domains can we use Python?



Q5. What are variable and how can we declare them?



Q6. How can we take an input from the user in Python?


Q7. What is the default datatype of the value that has been taken as an input using input() function?


Q8. What is type casting?



Q9. Can we take more than one input from the user using single input() function? If yes, how? If no, why?



Q10. What are keywords?

Ans: Keywords are predefined, reserved words used in Python programming that havee, etc.

 

Q11. Can we use keywords as a variable? Support your answer with reason.



Q12. What is indentation? What's the use of indentation in Python?

 
Q13. How can we throw some output in Python?

 

Q14. What are operators in Python?

 

Q15. What is difference between / and // operators?



Q18. What are boolean operator?
 

Q20. What are conditional statements in Python?

 

Q21. What is use of 'if', 'elif' and 'else' keywords?

More products