Q.1
Ans. \t
2.
Ans. \n
3.
Ans. a=int(input("enter value = "))
4.
Ans. When we enter some commands at the Shell prompt and see their output
instantly simply by pressing the enter key. we will observe that shell prompt can wors
as a calculator.
5.
Ans. Python is a high-level programming language. Python is very easy to learn the language as compared to other languages.
6.
Ans. 1. It is very easy to code in python language
2. Anybody can learn python basics in a few hours or days .
7.
Ans.The Print() function prints the specified message to the screen, or other standard output device.
8.
Ans. Guio van Rossum created Python language.
Shor Answer Type Question
1
Ans Python is an Interpreted and Intractive language. Python can run on a wide variety
of hardware platforms and has same interface on all platforms.
2.
Ans. Data types means the type of data stored in a variable.
Each language has its own data types to store data in variable.
3.
Ans. C, C++, Java, Javascript, Perl
4.
Ans. We can always re-assign a new value to a variable in the same program.
5.
Ans. "\t" is used for new tab and "\n" is used for new line.
6
Ans. When we are taking the input from the user as a string
with input() and then we are using the int() to change it to an integer.
Aman
ReplyDelete