The electronic configuration of C2 molecule is as given below.
C2=σ2(1s)σ∗2(1s)σ2(2s)σ∗2(2s)π2p2y=π2p2z
C2 molecule contains 4 sigma bonding electrons, 4 sigma antibonding electrons and 4 pi electrons.
Ratio=NumberofσbondingelectronsNumberofπbondingelectrons=44=1
Hence, the ratio of σ bonding electrons and π bonding electrons in C2 molecule is 1:1.