Skip to content
← 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
finnegan

Thanks for picking out the time to discuss this, I feel great about it and love studying more on this topic. It is extremely helpful for me. Thanks for such a valuable help again.Canada Visa Eligibility

Profile icon
finnegan

There is so much in this article that I would never have thought of on my own. Your content gives readers things to think about in an interesting way. Thank you for your clear information.cenforce 100

Profile icon
yagode2674

We have customers in Glasgow and Edinburgh who work all over Scotland, whenever they need a welder or metal fabricator on the jobs they call us. welder

Profile icon
IsmailSoomro

Pat Clor masterfully uses a character, Cindy Stark, a 12 year old girl from an imaginary world to personify his reality check in his extraordinary work of literary genius, "The Reason We're Waiting." Cindy is Clor's "Alice" and Pangaea is where she lives, in "Wonderland." Clor is like Lewis Carroll writing his doctorate thesis in Parmenides' Greek philosophy course. 토닥이

image

Profile icon
Petrikboss

Discover these 80 best FREE finance research paper topics. We hand-pick every topic depending on whether it could be interesting to write about in 2022. write my research paper writer

Profile icon
Petrikboss

Listcry has experienced more than 5 years for best packers and movers in India offers services like Packing and Moving, local/domestic moving, house shifting ... Packers and Movers Gurgaon to Uttar Pradesh

Profile icon
IsmailSoomro

I just couldn't leave your website before telling you that I truly enjoyed the top quality info you present to your visitors? Will be back again frequently to check up on new posts. AMMO FOR SALE

image

Profile icon
Petrikboss

There will be a lot to be claimed for being able to skillfully administer the full human body massage. Even if you don't need to produce that a occupation, which incidentally is incredibly lucrative, it could be used by you as something to greatly help clear your spouse or any family members of a variety of cramps and tensions. There's a suitable technique to a full human anatomy massage, and if performed effectively, it surely qualifies being an art. 한국출장안마

Profile icon
bapexa

Browse Legal full spectrum cbd Collection in Wilmington, Nc Cbd Infused Gummies, Cbd Oil, Cbd Capsules, CBN Sleep Capsules CBD Products contain several naturally occurring cannabis

Profile icon
Petrikboss

Are you looking for the best packers and movers in Ambattur Chennai? Yes! Allianz Packers and Movers provides the most reputed packers and movers in Ambattur Chennai that know how to moving and packing valuable in the most professional way as possible. Packers and Movers in Jogeshwari Mumbai

Profile icon
Petrikboss

먹튀사이트가 몇 개가 생성되는지 또는 먹튀 피해 회원분들이 몇 명인지 회원분들께서 직접 먹튀를 당하기 전까지는 생각도 해보지 않으셨을 이야기입니다. 안전사설토토사이트

Profile icon
bapexa

There are numerous timeshare exit scams, read our full article to understand these scams and how you can protect yourself. Linx Legal

Profile icon
bapexa

Among best compatible strollers this Chicco Bravo Trio Travel System is our first pick. It comes as a combo with KeyFit 30 infant car seat and there are 4 ... car seat chicco keyfit 30

Profile icon
bapexa

Beruntungnya bermain judi online di agen resmi seperti STARS77, selain memiliki win rate kemenangan yang besar, STARS77 juga merupakan agen judi slot online resmi yang telah menyediakan banyak jenis judi online yang dapat Anda pilih dengan sesuka hati. Jenis permainan judi online yang dimiliki STARS77 tentunya merupakan pilihan terbaik. Jenis-jenis judi online pada situs judi slot online STARS77 meliputi stars77

Profile icon
bapexa

Are you trying to start an online business… if so let me know if this sounds like you you want to make money online but you keep getting caught up in all of the technical stuff that goes along with starting an online business make money online

Profile icon
bapexa

Seeds World of over 3500 varieties of flower and vegetable seeds. Many rare and unusual varieties sold. Buy online today.

Profile icon
yagode2674

Explore THE FEEL GREAT SYSTEM: HISTORY!Today, Unicity has 18 products listed in the PDR, 60+ markets in countries all over the world, and a growing selection of more than 400 products. Our mission is to help people everywhere enjoy a beautiful, healthy, fulfilling live through our exceptional products, a fun and rewarding business opportunity, and a culture of family, health, and gratitude. feel great system

Profile icon
yiyiwed

healthcare clinic Get access to medicinal cannabis therapy for anyone, anywhere, at anytime by australian registered doctor at Joy Leaf via telehealth consultations and ... https://www.joyleaf.com.au/

Profile icon
yiyiwed

아무리 이제 막 개업한 업체로 보인다 할지라도 기존에 사용하던 아이피나 도메인, 그리고 개설된 국가나 메인 서버 지역 GPS 파악 등 여러 방면으로 비하인드 데이터를 스캔해 보면 그 누구도 과거 운영 이력을 피해갈 수 없게 됩니다. 먹튀검증사이트

Profile icon
Petrikboss

토토사이트를 안전하게 이용하실 수 있도록 먹튀검증 정보를 제공하며, 피해를 예방하기 위해 먹튀사이트 리스트를 제공하는 프로토토 입니다. 먹튀검증업체

Profile icon
Umar-waqaswaqas

Summertime brings sunflowers’ flowering, which represents devotion, loyalty, and longevity. It’s a “happy” flower, in a sense. So, while deciding on a design for your summer sunflower nails, sunflower is one of the beautiful and significant designs you may employ. summer sunflower nails

Profile icon
yiyiwed

Personalised Name Necklace Australia Shop for Personalised Jewellery on Ineffabless AU Official Website Perfect Gift for Mom Through our wide collection of high end necklaces, rings and bracelets, we offer hundreds of ways for you to commemorate the moments of your life name necklace

Profile icon
Petrikboss

The Home Design Institute professional course in Interior Design is a real-time online course with a duration of 10 months. During this period, you will ... Homedesigninstitute.com

Profile icon
Umar-waqaswaqas

This module will introduce you to Adobe Creative Cloud, you will continue to process designer bitmaps with Photoshop and you will create vector images ... Accountingacademy.bg

Profile icon
yiyiwed

Explore about 10 facts about-coffee you didnt know - If you have to start your day with coffee, you are feeding your caffeine addiction, before you will get any of the benefits you drink coffee for. The number one thing your first sip will do is push back caffeine withdrawal symptoms instead of giving you a boost.

Profile icon
bapexa

Our pop it phone cases are the perfect everyday case for your device The case is tough and durable, It’s sure to protect your device against high impact drops, scuffs, and scratches Free Shipping! pop it phone case

Profile icon
Petrikboss

freelancersincubator.com is a virtual information resource freely available through the global Internet network, owned by Net It Ltd., which presents the ... Freelancersincubator.com

Profile icon
Petrikboss

With all these types of black magic spells there is only one sure thing: the person who created the black magic in order to harm others will also receive what he created. If you wish me to remove all these types of black magic, please contact me here. Also, if the person suffers by the black magic issues, she/he can can use a sincere prayer or use the audio recordings from Judy Satori.

Profile icon
Petrikboss

Porque tú eres lo más importante. Cuidado y siempre consulta a un tarot de confianza, hay miles en internet, y ten por seguro, que solo unos poquitos, saben lo que hacen, un consejo de amiga. Te esperamos y Gracias More Bonuses

Profile icon
bapexa

Buy hemp flower online Buy Drugs Cheap Online .Silkroad Pharmacy is a drugstore with a wide range of high-quality medicines for sale. Fast worldwide delivery! []