Functions, variable
A function is a block of code which only runs when it is called. You can pass data, known as parameters, into a function. A function can return data as a result. A function is a mathematical relations
·
1 min read
Simple program functions and Variable
print(" hello, word")
input("whats your name?")
print(" hello" +name )
#indicates for the comments
return value
# Ask there for name
name = print(" hellow, word")
#Say hello to users
input("whats your name?")
//string
# remove white space from string
"""
is a comments
"""
Satyendra Kumar
Today i learn intro
No comments yet. Login to start a new discussion Start a new discussion