Ask coding questions

← Back to all posts
How do i add two opitions on a input on python???
JustinYo

i dont know how i think its int(input("somthing like that

Voters
JustinYo
Comments
hotnewtop
VulcanWM

you can try:
numbers = input(“Enter two numbers”)
number1 = int(numbers[0])
number2 = int(numbers[1])

JustinYo

@VulcanWM oh Alright thanks lemme try but are you sure thats python??

VulcanWM

yeah lmao my main lang is Python @JustinYo

VulcanWM

Works? @JustinYo

JustinYo

@VulcanWM ye thanks

VulcanWM

cool can you mark the comment as the answer (press the check mark) @JustinYo