I'm excited to showcase my coding journey on my blogspot. It's a deep dive into a multitude of programming languages, such as C, Java, Python, and beyond. I tackle challenging interview questions with thorough solutions. Come join me in exploring the world of programming!
Python Basics2
Get link
Facebook
X
Pinterest
Email
Other Apps
x=input("enter a value");
y=input("enter a value")
print (x+y)
x="my name is tejanth"\
"tejanth is my name"
print (x);
#Searching an existence of a file in Current directory import os #myFileName = 'UnderstandLists.py' #isfile() returns a boolean value True if file is available #isfile() returns a boolean value False if file is not available #fileExists = os.path.isfile(myFileName) #print(fileExists) myFileName = input('Enter a File Name to search: ') fileExists = os.path.isfile(myFileName) if(fileExists): print(myFileName, 'is available') else: print(myFileName, 'is not available')
<html> <head> teju's head </head> <script> var b,t; function fun(b,t) { return b*t; } </script> <body> var x=fun(5,6); alert("x is "+x); </body> </html>
Comments
Post a Comment