Skip to content
Sign upLog in
← Back to Community

How to make a python program to ask user a day to respond in an if statement to give a true answer?

Profile icon
[deleted]

Write a Python program to ask the user for a day of the week. Then, depending on the day entered by the user, the program should display one of the following messages:
If it is Friday then, “You have your CS 140 class today. That means lots of Python programming!”
Otherwise, “No Python programming today. Of course, you can always practice at home.”,

Answered by Codejira [earned 5 cycles]
View Answer
Comments
hotnewtop
Profile icon
Codejira

This is how to do certain things in Python:

friday_message = "TGIF" else_message = "Oh no!" user_input = input("What DOW is it? ") if user_input == "Friday": # do something else: # do something else

HTH

Profile icon
[deleted]

@lonewolf392
I didn't get it at first but that gave me an idea and surely it worked, so thanks for the help👌

Profile icon
mrsoomro1

Shop nba championship rings for sale online, nba rings for sale, super bowl ring, world series ring with free postage worldwide online championship ring store.

Profile icon
mrsoomro1

Die SPIDER Mäher sind vielseitige Maschinen, die in der Lage sind, feinen Rasen, sowie dichtes Gestrüpp auf ebenen Flächen oder in der Böschung bis zu 55 Grad zu mähen. Die Bedienung ist sicher, komfortabel und produktiv. SPIDER ILD01

Profile icon
mrsoomro1

Every party and event is very unique and requires your input to achieve ambiance. Our company offers event decoration services that make your event look fabulous and reduce the stress of having to deal with before and after-event situations. We ensure that your party is serene, modern, classy, and fully customized to your taste. Some of the events we handle include: Customized themed birthday parties small wedding

Profile icon
yevaki

Bed escorts is a premium escort directory. Listing male and female escorts in Kenya, Nairobi raha escorts, Eldoret escorts, Kisumu escorts, Mombasa escorts ,Escorts Malindi Tanzania and Uganda. This is a reliable site you will ever need, if you are searching for a massage call girl, call boys, single men or women, lesbians, gays or just casual sex hook up. Bringing action near you.

Profile icon
mrsoomro1

A medical spa focus on providing personalized services to enhance your beauty. We provide Botox, fillers, thread lift, PRP with microneedling, medical weight loss, vitamin B12 injections, facials and IV therapy. We pride ourselves in delivering safe natural looking results. Aesthetics Chicago

Profile icon
yevaki

Experienced wedding photographer living in Copenhagen I carry out Bryllupsfotograf København, North Zealand on Zealand and surrounding areas.

Profile icon
yevaki

XMX London builders is a professional refurbishment company Our Builders London renovation team carries out construction, finishing works and repair services.

Profile icon
mrsoomro1

Are you worried about your car care? Then you came to the right place. Nomad Mobile Detailing services include car cleaning, and automobile detailing. mobile detailing service

Profile icon
mrsoomro1

What is CableHero Explore the features Automatic Cable Sizing Explore the features Voltage Drop Calculator Explore the features Fault Loop Impedance Explore the features Conduit Size Calculator Explore the features Auto Cable Derating Explore the Features Finally cable sizing calculator Australia

Profile icon
mrsoomro1

Programas Europeos de Posgrados de Alto nivel para realizar a Distancia con doble Titulación, Reconocidos y Certificados a nivel internacional MBA en Project Management

Profile icon
yevaki

cleanser oil for dry skin have been gaining popularity in the skincare world, particularly among those with sensitive skin or skin conditions like acne or rosacea. But what are cleansing oils, and how do they work? The purpose of cleansing oils is to remove dirt, makeup, and other impurities without stripping away the natural face wash for dry skin that keep your skin healthy. This article will explain how cleansing oils work, which skin types benefit most from their use, and some effective cleansing oil ingredients to look for.

Profile icon
yevaki

This Gifts For The Couple item by Artofsharped has 3 favorites from Etsy shoppers Ships Like Personalized Wedding Guest Book from United States Listed on 21 Aug, 2022.

Profile icon
mrsoomro1

MBA Online a Distancia Maestría en Administración de empresas con especialidad en Marketing Digital, Project Management, Recursos Humanos, Finanzas, Marketing Distance Learning Online MBA

Profile icon
yevaki

It’s an extremely remarkable effective useful resource that you’re offering and you offer that aside cost-free!! My partner and i that can compare with finding internet sites in which observe the specific house worth offering you a great studying resource with regard to absolutely no price. All of us truly a lot cherished analyzing this short article. Love! Haircuts and Styling

Profile icon
yevaki

I am not sure why however this web site will be launching very gradual for me. Is someone else having this difficulty or possibly that any issue in my end? I will check back down the road if ever the issue nonetheless is out there. Healthy Life diet plan

Profile icon
yevaki

Hire an photographer amsterdam for a fun photoshoot to capture your vacation, proposal, bachelorette, engagement, babymoon, or family photography!

Profile icon
yevaki

Progress Tracker, Achieve More, Faster Achievemented empowers you to do more by easily tracking your progress The easy to use visual tracker that helps your Goal Setting small and large, and achieve them.

Profile icon
yevaki

Puertorican Printed and digital Cultural newspaper from Puerto Rico that covers and adorns the work of Puerto Rican culture Includes Boricua history, art, calendar, personalities and much more.

Profile icon
yevaki

Door Refinishing and Door Finishing Restoration located in Atlanta, Georgia Our Experienced Professionals Offer the best services at affordable prices.

Profile icon
yevaki

Le solitaire - jeu en ligne de cartes gratuit , this classic of the games of patience or success that is played alone!

Profile icon
yevaki

Since 2011, MEDICI TILE is the leading subway tile manufacturer and ceramic tile supplier in China, we provide custom ceramic tile service, Ask!

Profile icon
mrsoomro1

You make so many great points here that I read your article a couple of times. Your views are in accordance with my own for the most part. This is great content for your readers. اهم مباريات اليوم

Profile icon
mrsoomro1

I wanted to thank you for this excellent read!! I definitely loved every little bit of it. I have you bookmarked your site to check out the new stuff you post. اهم مباريات اليوم

Profile icon
mrsoomro1

You there, this is really good post here. Thanks for taking the time to post such valuable information. Quality content is what always gets the visitors coming. yalla shoot

Profile icon
capih

A box of boutiques exclusive to you A box of boutiques! Simple and light luxury is our pursuit, professional sincerity is our attitude, we will create every boutique with our hearts, and give you noble but not expensive uniqueness! Our Services 頂級茶葉 精品禮盒, Premium Porcelain Gifts, Artifacts, Premium Gifts, 企業禮盒, Corporate Gifts, Yihe Creative Marketing, Yihe Influencer Marketing. ABoxTik A Box of Boutiques A box of boutiques, produced by Yihe

Profile icon
capih

벳엔드 is a company that has an official overseas license and provides all matches from around the world betting site 벳엔드

Profile icon
mrsoomro1

OBCTOP merupakan situs judi slot online terpercaya yang membuka akun slot gacor di agen slot online terbaik dan terpercaya di Ine terpercaya di Indonesia. https://saratogapartnership.org/

Profile icon
OfficeOffice3

Mega888 APK / IOS Client Up to Date ⚡ , Free Download & Register via Telegram and whatsapp Online. Join and get bonus now! mega 888

Profile icon
capih

Providing state of the art chiropractic care in Woodbury Chiropractic NJ Heights for 35 years, the chiropractors at Probe can help with pain relief and Cryotherapy near me.

Profile icon
capih

Eat-and-go verification, 먹튀검증업체, eat-and-eat site, 먹튀검증 site The best eat-and-dry verification community in 2022, Toto information center specializing in recommending Toto eat-and-run verification Guide to select only those companies that have been safely verified by verifying the private 토토사이트 Please find the site, the Toto Information Center, right now!