Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- prnt = "str = 'tvoje mamka'".split("'")
- variableName = prnt[0].split("=")
- command = "echo (str)".split('(')
- command = command[1][:-1]
- if command == variableName[0][:-1]:
- print("Value of variable '"+command+"' is '"+str(prnt[1])+"'.")
- else:
- print("NENI")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement