My gas dryer just recently went. My landlord came over and capped off the gas line so it won’t leak. Can I buy a electric dryer or get a gas?

My gas dryer blew out on me. My landlord came over and capped off the gas line so gas won’t leak in my house. Do I have to buy another gas dryer since that’s what I had at first or can I switch to a electric dryer. Thank you.
21 answers 21