python script to code example
Example 1: how to run a python script
# Save the script in a file with .py extension
# run the script using the below command
python fileName.py
Example 2: python to java script
print(t) ==> console.log(t)
if expression : ==> if(expression){
do something do something }
elif expression : ==> else if(expression){
do something else do something else }
else: == if(expression){
do a final thing do a final thing }