<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: TheFoxlion</title>
    <description>The latest articles on DEV Community by TheFoxlion (@thefoxlion).</description>
    <link>https://dev.to/thefoxlion</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1647996%2F2295c7eb-de68-40a1-aec4-6aa62c7d9f1f.png</url>
      <title>DEV Community: TheFoxlion</title>
      <link>https://dev.to/thefoxlion</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/thefoxlion"/>
    <language>en</language>
    <item>
      <title>Pseudocode/Python Project</title>
      <dc:creator>TheFoxlion</dc:creator>
      <pubDate>Sat, 22 Jun 2024 01:02:58 +0000</pubDate>
      <link>https://dev.to/thefoxlion/pseudocodepython-project-4p7n</link>
      <guid>https://dev.to/thefoxlion/pseudocodepython-project-4p7n</guid>
      <description>&lt;p&gt;Hey All.&lt;br&gt;
I am writing a program that uses conditionals as well as a while loop.&lt;br&gt;
I am running into problems with the while loop.&lt;br&gt;
The loop is set to run if the user doesn't enter 'yes' or 'no' when asked whether they would like to make a payment. No matter where I try to place the loop it seems to get stuck if I enter anything other than 'yes' or 'no' then enter either 'yes' or 'no' after the loop.&lt;br&gt;
It seems that if I try to catch someone not entering either of the two acceptable entries the program gets stuck.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;def Credit_card():
    ccb=float(input("What is your credit card balance?\n"))
    pur=float(input("How much have you spent in purchases?\n"))
    minpymt=pur*.12
    print("Your minimum payment is ${0}".format(minpymt))
    dectopay=input("Would you like to make a payment?\n Please type 'yes' or 'no'\n")
    if (dectopay=="yes"):
        pymt=float(input("Wonderful! How much would you like to pay?\n"))
        while(pymt&amp;lt;minpymt):
          pymt=float(input("We're sorry, but your payment must be greater than or equal to your minimum payment of ${0}\nHow much would you like to pay?\n").format(minpymt))
        print("Thank you for your payment!\n")
        print("Your new credit card balance is ${0}\n".format((ccb+pur)-pymt))     
    elif(dectopay=="no"):
        print("Your credit card balance is ${0}. Thank you for visiting Credit Central. \n Have a wonderful day!".format(ccb+pur))
    while (dectopay!="yes")or(dectopay!="no"):
            dectopay=input("We're sorry. You must answer either 'yes' or 'no'\n")




Credit_card()


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>beginners</category>
      <category>webdev</category>
      <category>python</category>
    </item>
    <item>
      <title>Should I buy a new PC?</title>
      <dc:creator>TheFoxlion</dc:creator>
      <pubDate>Wed, 19 Jun 2024 18:14:53 +0000</pubDate>
      <link>https://dev.to/thefoxlion/should-i-buy-a-new-pc-3cem</link>
      <guid>https://dev.to/thefoxlion/should-i-buy-a-new-pc-3cem</guid>
      <description>&lt;p&gt;Hello all!&lt;/p&gt;

&lt;p&gt;I am a complete beginner to the world of programming and I had a few questions concerning my hardware and whether or not it needs an upgrade.&lt;/p&gt;

&lt;p&gt;My specs:&lt;/p&gt;

&lt;p&gt;Dell Inspiron 3584&lt;br&gt;
128GB with about 11GB free&lt;br&gt;
intel I3-7020U @2.3Ghz&lt;br&gt;
8GB ram&lt;/p&gt;

&lt;p&gt;Currently installed:&lt;/p&gt;

&lt;p&gt;VSCode&lt;br&gt;
Webstorm&lt;br&gt;
IDEA for Python&lt;br&gt;
JDK 22&lt;/p&gt;

&lt;p&gt;If there is any more information I can provide let me know.&lt;/p&gt;

</description>
      <category>learning</category>
      <category>hardware</category>
    </item>
  </channel>
</rss>
