Python Input and Output Basics

Taking input and printing output on console in python:--- Learn = input( "what programming language your learning:") print("Egarly Learning", Learn) Converting string input to number(integers ):- Count = int(input("How many times you want to read python:")) print ("want to read:", Count) if we want to take floating numbers :- temp = float(input ("what is the temperature outside now:")) print("outside temperature is:-", temp) #learn #python #beginner #content #creator #dream

To view or add a comment, sign in

Explore content categories