Input-output - English

Play
Current Time 0:00
/
Duration Time 0:00
Remaining Time -0:00
Loaded: 0%
Progress: 0%
0:00
Fullscreen
00:00
Mute
Captions
  • captions off
  • English

15605 visits



Outline:

Various output statements Print a string Print a string with newline character How to use format operators? Example for integer format Example for string format Example for float format Getting input from the user using Input()function Display a prompt to get the input Save the script as filename.py and execute using %run command