This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from tkinter import * | |
window =Tk() | |
window.title("Uppercase-Lowercase") | |
frame=Frame(window) | |
entry=Entry(frame) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def display(s): | |
'''Display an argument value''' | |
print(s) | |
display(display.__doc__) | |
display(r'c:\program\n') | |
display('\nAnshul'+' '+'Shrivastava') | |
display('hello world\n'[3:7:2]) | |
display('A' in 'Anshul') | |
display('A' not in 'Anshul') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input1 = input("write something....its just a mike testing..") | |
if len(input1) > 0 and input1 != 13041999: | |
print("good...move on..") | |
elif input1 == 13041999: | |
print("birthdate....buddy....!") | |
else : | |
print("lazy....!!!") |