Quick actions

cmd+k|ctrl+k

Navigation

Languages

own_code complex 2nd

Snippet info

Language

Python

Visibility

public

Author

namargup

Created

2026-06-15T08:21:12.968254Z

Updated

2026-06-21T09:56:00.308046Z

pet = input('do you have a pet?''\n yes or no:- ')

if pet == 'yes':
   terrestrial_aquatic = input("terrestrial = Aquatic = : ")
   print(terrestrial_aquatic)
else:   
   print ('\n what is the pet\'s name?')
   pet_name = input('pet\'s name:- ')
if pet == 'no':
    print('\n okay you are verified')
INFO