Search the Community

Showing results for tags 'Program'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • General
    • Show Us Your Creations
    • Blog
    • Recommended Reading
  • One Stop Programming Tutorials
    • Python Beginner Series
  • Programming Languages
    • Python
    • C++
    • C#
    • Arduino
    • Other Languages

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. Hey guys, i need some help if anyone is readily available. I am working on a program for a python class in school. I'm trying to write a basic program of shipping weights and how much the cost of each pound is. Now to the direct questions. One, am i able to put multiple if then statements into one line? Such as >6 and <10. If so, how would i do that? I will copy and paste my initial program to see if you guys can give me some help. Print("CSC 122 Program #3") Print("By Cody Garner") Print("Due Sunday Oct. 11th") W = input(" Enter the weight of the package: ") if (w == <=2): print("1.50") if (w == >=2 and <=6"): print("3.00") if (w == >=6 and <=10"): print("4.00") if (w == >=10") print("4.75") Please help ASAP. Thanks guys.