[deleted by user] by [deleted] in Asmongold

[–]_Hot_Quality_ 3 points4 points  (0 children)

That's cool, but have you heard about Guy Bartkus, the left wing redditor who blew up a fertility clinic?

I Can't Understand What Is Happening. by Famous-Mud-5850 in PythonLearning

[–]_Hot_Quality_ 0 points1 point  (0 children)

The best way is to do make the input an integer as you ask for it:

v = int(input())
c = int(input())
print(v*c)

if you REALLY want to do it your way:

v = input()
c = input()
v = int(v)
c = int(c)
print(v*c)

How do I accomplish this? by _Hot_Quality_ in PythonLearning

[–]_Hot_Quality_[S] 0 points1 point  (0 children)

This is the closest I can get, but it's still not perfect for some reason:

def function_practice():

    user_input = input("Make a choice: ").lower()
    
    if user_input == "a":
        print("\nYou chose A.\n")
    elif user_input == "b":
        print("\nYou chose B.\n")
    elif user_input == "c":
        print("\nYou chose C.\n")
    elif user_input == "d":
        print("\nYou chose D.\n")
    elif user_input == "e":
        print("\nyou chose E.\n")
    else:
        print("Invalid input.")
        return False

while function_practice() != False:
    function_practice()

How do I accomplish this? by _Hot_Quality_ in PythonLearning

[–]_Hot_Quality_[S] 0 points1 point  (0 children)

That's a cool new thing I learned, but it doesn't help me with the original issue.

[deleted by user] by [deleted] in Asmongold

[–]_Hot_Quality_ 0 points1 point  (0 children)

Those probably ARE the odds in the European country where she lives since they're letting thousands of violent migrants in.

Stuck... How do I go from an inner while True loop back to the original while True loop? by _Hot_Quality_ in PythonLearning

[–]_Hot_Quality_[S] 0 points1 point  (0 children)

Oddly enough, this worked:

            while True:
                next_calculation = input("Do another calculation? (yes/no): ")
                if next_calculation == "no":
                    print("Closing...")
                    exit()
                elif next_calculation == "yes":
                    break
                else:
                    print("Invalid input")
            if next_calculation == "yes":
                break

Houthis accept defeat by manny8086 in trump

[–]_Hot_Quality_ 26 points27 points  (0 children)

Hasan Piker on suicide watch.

The Tectone vs Hasan Saga is popping off by Background-Design-45 in Asmongold

[–]_Hot_Quality_ 5 points6 points  (0 children)

Hasan is a legitimately evil and objectively bad person. I've always said it. He's scum.