Python Program to get Input from User || Python input() and Python sys.stdin.readline()

Описание к видео Python Program to get Input from User || Python input() and Python sys.stdin.readline()

Hey Guys,

In this video I tried to explain two methods of getting user input in python program.


All Video List
=============================
https://codewithtj.blogspot.com/2024/...


First python program to take input from user is using favorite input() function call.
var = input("Enter a number : ")

Second is using sys.stdin.readline() function cal reads user input.
var = sys.stdin.readline()

Second another variant
var = open(0).readline()

Hope you liked this video. Please subscribe to my youtube channel for more python related videos.

Комментарии

Информация по комментариям в разработке