print("2025", "09", "21", sep="-")
output :
2025-08-21
Dream Always Dream , if you don't work on it : Real-world Oracle DBA troubleshooting guides for RAC, Data Guard, RMAN, performance tuning, upgrades, backups, and cloud migration. Tested in production environments.
# Traffic Light Simulator
# Input a color (red, yellow, green) and print the corresponding action:
# Red → Stop
# Yellow → Get Ready
# Green → Go
light_type=input("Please enter the light type (red, yellow, green ) : ")
if(light_type=="red"):
print("Stop")
elif(light_type=="yellow"):
print("Get Ready")
elif(light_type=="green"):
print("Go")
else:
print("wrong input")
# Login System
# Ask for a username and password.
# If both match predefined values, print "Login successful", else show appropriate error messages.
#username : abc
#password : 123
user=input("Please enter username: ")
password= input("Please enter the password: ")
if(user=="abc" and password == "123"):
print("Login successful")
elif(user != "abc" and password != "123"):
print("both Incorrect Username and Password ")
elif (user != "abc"):
print("Username is not correct ")
else:
print("password is incorrect ")
catcon.pl (Catalog Container Script) is an Oracle utility introduced with the Multitenant Architecture (CDB/PDB) to execute SQL scripts ...