@archana-kadam I looke dagain at you request. What I cannot understand is, why you do not simple set the respberry Pi to 115200 baud.
Besides that, you can free UART0 from the REPL and reconfigure it to any speed you like, e.g. for 9600 baud:

@robert-hh
We have checked with the code which you had provided, but the need is we are have connected gps sensor at uart1 which works at baudrate of 9600, and raspberry pi we have connected to uart0.But the problem is uart0's baudrate is 115200 so only we are not receiving the gps data as it is at uart0.

Basically we need both the uart to be setup at 9600. How to to it??

Screen shot of the data output from fipy as well as raspberry is attached. This image is about raspberry pi output connected to the Uart 0. This image is about Gps output connected to the Uart 1

If it is just to print the data form the GPS sensor, you can simply keep REPL and use print.
P.S.: For code to look nicely, enclose it in lines with three backquotes (```).
P.P.S.: I upvoted three of your comments, such that you can pretty print code and respond faster.

Am using below code to read on both the uarts of fipy, on uart0 i have connected GPS sensor and on uart1 i have connected raspberry pi, am reading the GPS data from uart0 and writing the same data on the uart1 i,e on raspberry pi. But the below code is not working as i wanted. Kindly help with this.

@archana-kadam UART0 is connected to the REPL. If you want to disconnect REPL from UART0, you have to use the statement os.dupterm(None). After that, you can use it like UART1 and configure it as needed.
For REPL, you may then use Telnet.

We have already checked with the linked you have suggested, but in that they have only explained about the uart 1 example. Can you provide us the example of how to read both the uart 0 and uart 1 in the same code.

Hello Team
We are using two UART sensor, we have connected UART 0 and UART 1 i,e UART 0 (pins G1 and G2) and UART 1 (pins G11 and G24)
How we can get the readings of both the UART connections in a single code and how we can set the boudrate of Fipy UART Connection.