Open

0

# Taking combination of both character s ,integers and other things like(/,:,;)as input

I m thinking of eval But it doesn't work

7 Answers

0

Lots of ways to do it! Can we see your attempt?

0

Can I take
Com= eval(input())
Com a combination of strings ,integers and others

0

if its an equation or python syntax code.
try this:
solution = eval(input("Enter an equation: "))
print(solution)
#input
3 * 5
#output
15

0

I want input as
For example Https://wdvhkjvjk=yvnkj
Like this

0

And its supposed to do what with the web address?

0

Okay now i understand. Please read through and do the Regular Expression examples here:
https://www.sololearn.com/learning/2475/