Answers for "Multiple Function in python with input method"

0

input multiple values in python

mA,mB = map(float,input().split()) #if float data type
mA,mB = map(int,input().split()) #if int data type
Posted by: Guest on August-19-2021
0

How to take multiple input form python

n=input()# no of inputs
n =int(n)
for i in range(n):
  y=input()
  print(y)
Posted by: Guest on June-19-2021
0

Multiple Function in python with input method

#Function in python

def identity(age):
    print("You are "+str(age)+" Years old")
identity(input("Type your age: "))

def id(name):
    print("Hello "+name+"."+"You are our valued customer")
    print("Have a nice Day "+name)
id(input("Type your name: "))

# if you want to use the input method to get the user info more
# than one time then you should make two function.
# In one function you can't get the multiple results.if anyone can find
# please add to greeper ans.
Posted by: Guest on February-25-2022

Code answers related to "Multiple Function in python with input method"

Python Answers by Framework

Browse Popular Code Answers by Language