#๐Ÿ”’ I need help

10 messages ยท Page 1 of 1 (latest)

calm iron
#

lakhs = 3
thousands = 92
hundreds = 3
tens = 7
ones = 5
chosen_system = input("Choose a system Indian/International: ")

if chosen_system.lower() == "indian":
print (f"{lakhs},{thousands},{hundreds},{tens},{ones}")
else:
print(f"{lakhs * 100000 + thousands * 1000 + hundreds * 100 + tens * 10 + ones}")
print ("Check if misspell or that system that you enetered is not in the code:")

magnitude = input ("Choose wheather the number should be in greatest or smallest order: ")

if magnitude.lower() == "greatest":
print (975,332)
elif magnitude.lower() == "smallest":
print ("233,579")
else:
print ("Not a option, choose greatest or smallest only")

age = input("What's your age?")
marks = input ("Marks")
place = input("Where do you live?")
print ("age,marks,place")

So I wrote this and really need help. I need a random number selcterdice_4

floral hemlockBOT
#

@calm iron

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

scarlet harness
#

As in import random; random.randint random number selector?

calm iron
#

yeaa

#

ty bro

soft raven
#

print (975,332)
this prints two different numbers separated by a space

wooden arrow
#

boutta say random randint

#

theres another method but i forgot it

floral hemlockBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.