FarmGround=input("Do you want to pat the animal? ") #this is the input
if FarmGround==("Yes") or FarmGround==("yes"): #this is if
print("You patted the animal") #print statement if you patted the animal it will go onto the next if statement
if print=("You patted the animal"):
elif FarmGround==("No") or FarmGround==("no"): #this is elif
print("You didn't patt the animal and it is triggered")
undescribed imagea Заявление внутри оператора if?
жаль, что не в питона языка я аутизм и я плохо stackflow, если кто-нибудь может научить меня, как поставить его на языке программирования также будет hlep: ^) – mememan
ли у Вас есть вопрос? –
Я хочу поставить оператор if внутри оператора if. – mememan