Off topic:Running python program using php
0
0
Entering edit mode
5.6 years ago

Script which takes a string and will test to see if it is palindromic . I have written the python script for this like:

a = raw_input("Enter the word: ")
b = a[::-1]
print b
if (a == b): 
    print("Yes") 
else: 
    print("No")

when calling this python program via php I don't know how to give the input. Please help me!

program • 1.5k views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 3741 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6