5. How do you accept data in a variable from the user? Give the syntax of the
command along with an example
Answers
Answered by
0
Answer:
doutnut me mil jayega❤
Answered by
1
Answer:
Values and data types¶
A value is one of the fundamental things — like a letter or a number — that a program manipulates. The values we have seen so far are 2 (the result when we added 1 + 1), and "Hello, World!".
These values belong to different data types: 2 is an integer, and "Hello, World!" is a string, so-called because it contains a string of letters. You (and the interpreter) can identify strings because they are enclosed in quotation marks.
The print statement also works for integers.
Similar questions
Psychology,
2 months ago
Social Sciences,
2 months ago
Physics,
2 months ago
Math,
6 months ago
Physics,
11 months ago
Math,
11 months ago