Python Forum
A simple "If...Else" question from a beginner
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A simple "If...Else" question from a beginner
#6
Fruit is not true. No fruit was asked about. In the original code. So fruit is false. breakfast == 'fruit'. The else is with this if statement.
I welcome all feedback.
The only dumb question, is one that doesn't get asked.
My Github
How to post code using bbtags


Reply


Messages In This Thread
RE: A simple "If...Else" question from a beginner - by menator01 - Jul-11-2022, 03:23 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Very Beginner question on simple variables Harvy 1 227 Apr-12-2024, 12:03 AM
Last Post: deanhystad
  Simple Question - ' defined as "a". ?' Ryan012 10 1,705 May-27-2023, 06:03 PM
Last Post: Ryan012
  Very simple question about filenames and backslashes! garynewport 4 2,023 Jan-17-2023, 05:02 AM
Last Post: deanhystad
  Python Tkinter Simple Multithreading Question AaronCatolico1 5 1,640 Dec-14-2022, 11:35 PM
Last Post: deanhystad
Question Beginner Boolean question [Guessing game] TKB 4 2,387 Mar-22-2022, 05:34 PM
Last Post: deanhystad
  Simple arithmetic question ebolisa 5 2,122 Dec-15-2021, 04:56 PM
Last Post: deanhystad
  Simple code question about lambda and tuples JasPyt 7 3,405 Oct-04-2021, 05:18 PM
Last Post: snippsat
Big Grin question about simple algorithm to my problem jamie_01 1 1,708 Oct-04-2021, 11:55 AM
Last Post: deanhystad
  Beginner question NameError amazing_python 6 2,538 Aug-13-2021, 07:28 AM
Last Post: amazing_python
  Beginner question - storing values cybertron2 4 3,287 Mar-09-2021, 04:21 AM
Last Post: deanhystad

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020