Posts

Showing posts from November, 2021

Velapanti Python Program

 print("Hello!!") print("Welcome to Physics Tech Talks") print("What is your name ? ") name=str(input()) print("Are u a male(1) or female(2)? ") print("Enter 1 if male and 2 if female: ") sex=int(input()) if sex==1:     print("Hlo Sir, this is soo nice talking to u !!!")     print("Mr.",name,"this program is for time pass !!! Do u know that?? If yes press 1 if no then 0:  ") else:      print("Hlo mam, this is soo nice talking with u !!!")     S=int(input("Are u married (Yes(1)or No(0)): "))     if S==1:         print("Mrs.",name,"this program is for time pass !!! Do u know that?? If yes press 1 if no then 0: ")     if S==0:         print("Miss",name,"this program is for time pass !!! Do u know that?? If yes press 1 if no then 0: ")     k=int(input()) if k==1:     print("I am glad to know that you are aware of your velapanti. Yo know that you a...

Cool Python Program

 print("Hello!") print("Welcome to the Quiz Show!!!") print("Kindly Enter your name: ") name=str(input()) print("O dear,",name,"This is so nice to talk to u!!")  g=int(input("Are u a male or female, if male press 1 and if female press 2: ")) if(g==1):     print("Thank u sir for your response!!")  elif(g==2):     print("Thank u mam for your response!!") else:          print("You have entered an invalid number sir, We are considering that u have no gender. Don't mind sir. If this was an error pls rectify it next time. Sorry!!")    print("I would like to tell u,",name," that I am going to ask u some basic questions") print("Are u interested to answer") x=int(input("Pls enter 1 if u are interested or enter 0 if not")) if (x==0):     print("Sorry to waste your time,",name,". Hope to see u again!!") elif (x==1):     print("Thank u for ...