Your channel viewers will see links here, including "subscribe" and "add as friend".
Profile
Name
plutonium 239
Description
idk, im just trying to do some tech stuff
Goals:
65 subs-❌
70 subs-❌
75 subs-❌
80 subs-❌
R.I.P OG foggy tomato
Goals:
65 subs-❌
70 subs-❌
75 subs-❌
80 subs-❌
R.I.P OG foggy tomato
Subscribers
62
Subscriptions
Recent Activity
|
plutonium 239
|
||
|
plutonium 239
Hey guys, sorry for not posting in a while, btw here the new (totally real) measuring system, the soba! Instead of feet or smoots you measure in soba cups, think about it, you get a noodle cups for like 2 dollars, it doesnt break easely and you can keep it forever!
Heres the code for a measuring system calculator that includes the soba
def soba_calculator():
print("--- THE SOBA CALCULATOR ---")
print("1. Feet to Sobas (sb)")
print("2. Sobas to Feet")
print("3. Sobas to Smoots")
print("4. Sobas to Beard-Seconds")
print("5. Exit")
# Constants
SOBA_IN_INCHES = 4.0
SMOOT_IN_INCHES = 67.0
BEARD_SEC_IN_INCHES = 0.00000019685 # approx 5nm
while True:
choice = input("\nSelect a conversion (1-5): ")
if choice == '1':
feet = float(input("Enter height in feet: "))
inches = feet * 12
sb = inches / SOBA_IN_INCHES
print(f"Result: {sb:.2f} sb")
elif choice == '2':
sb = float(input("Enter length in sobas: "))
inches = sb * SOBA_IN_INCHES
feet = inches / 12
print(f"Result: {feet:.2f} feet")
elif choice == '3':
sb = float(input("Enter length in sobas: "))
total_inches = sb * SOBA_IN_INCHES
smoots = total_inches / SMOOT_IN_INCHES
print(f"Result: {smoots:.4f} Smoots")
elif choice == '4':
sb = float(input("Enter length in sobas: "))
total_inches = sb * SOBA_IN_INCHES
beards = total_inches / BEARD_SEC_IN_INCHES
print(f"Result: {beards:,.0f} Beard-Seconds")
elif choice == '5':
print("bye!")
break
else:
print("Invalid choice. Try again.")
if __name__ == "__main__":
soba_calculator()
Have fun!
|
||
Friends
Channel Comments
There are no comments for this user.
Add comment

