Computer Science, asked by abhay2289, 9 months ago

what all components can a Python program contains​

Answers

Answered by sharmaawanish084
43

Answer:

print: Output strings, integers, or any other datatype.

The assignment statement: Assigns a value to a variable.

input: Allow the user to input numbers or booleans. ...

raw_input: Allow the user to input strings. ...

import: Import a module into Python.

Answered by orangesquirrel
43

Answer:

The various components of python areas Expressions, Statements, Comments, Functions, and Blocks or Suites.

Python is a high-level programming language which has object-oriented features. It helps programmers to write clear and logical program code for several projects.

It supports multiple programming, as well as functional programming. It has a standard library which is used for the construction of programs.

Similar questions